Add leave button on active call header

This commit is contained in:
Antonio Scandurra
2022-10-10 10:30:51 +02:00
parent 6f4edf6df5
commit 79748803a9
5 changed files with 1166 additions and 0 deletions
@@ -0,0 +1,22 @@
import Theme from "../themes/common/theme";
import { text } from "./components";
export default function incomingCallNotification(theme: Theme): Object {
const avatarSize = 12;
return {
callerAvatar: {
height: avatarSize,
width: avatarSize,
cornerRadius: 6,
},
callerUsername: {
...text(theme, "sans", "primary", { size: "xs" }),
},
acceptButton: {
...text(theme, "sans", "primary", { size: "xs" })
},
declineButton: {
...text(theme, "sans", "primary", { size: "xs" })
},
};
}