Show notification when a new project is shared and allow joining it

This commit is contained in:
Antonio Scandurra 2022-10-04 16:55:41 +02:00
parent 57930cb88a
commit debedaf004
6 changed files with 215 additions and 5 deletions

View file

@ -0,0 +1,22 @@
import Theme from "../themes/common/theme";
import { text } from "./components";
export default function projectSharedNotification(theme: Theme): Object {
const avatarSize = 12;
return {
ownerAvatar: {
height: avatarSize,
width: avatarSize,
cornerRadius: 6,
},
message: {
...text(theme, "sans", "primary", { size: "xs" }),
},
joinButton: {
...text(theme, "sans", "primary", { size: "xs" })
},
dismissButton: {
...text(theme, "sans", "primary", { size: "xs" })
},
};
}