mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-17 18:09:09 +00:00
add databinding for editor actions and message
This commit is contained in:
parent
67fac31ab4
commit
b0c8b2378b
7 changed files with 57 additions and 16 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue