add databinding for editor actions and message

This commit is contained in:
41666 2021-07-05 21:35:53 -05:00
parent 67fac31ab4
commit b0c8b2378b
7 changed files with 57 additions and 16 deletions

View file

@ -11,6 +11,7 @@ export type AppShellProps = {
user?: DiscordUser;
showFooter?: boolean;
small?: boolean;
double?: boolean;
activeGuildId?: string | null;
guilds?: GuildSlug[];
recentGuilds?: string[];
@ -56,7 +57,9 @@ export const AppShell = (props: AppShellProps) => (
)}
<OptionallyScroll shouldScroll={!props.skeleton}>
<>
<Content small={props.small}>{props.children}</Content>
<Content small={props.small} double={props.double}>
{props.children}
</Content>
{props.showFooter && <Footer />}
</>
</OptionallyScroll>