projectSharedNotification.ts

 1import Theme from "../themes/common/theme";
 2import { text } from "./components";
 3
 4export default function projectSharedNotification(theme: Theme): Object {
 5  const avatarSize = 12;
 6  return {
 7    ownerAvatar: {
 8      height: avatarSize,
 9      width: avatarSize,
10      cornerRadius: 6,
11    },
12    message: {
13      ...text(theme, "sans", "primary", { size: "xs" }),
14    },
15    joinButton: {
16      ...text(theme, "sans", "primary", { size: "xs" })
17    },
18    dismissButton: {
19      ...text(theme, "sans", "primary", { size: "xs" })
20    },
21  };
22}