mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 11:59:11 +00:00
20 lines
442 B
TypeScript
20 lines
442 B
TypeScript
import * as React from 'react';
|
|
import { mastheadSlugs, user } from '../../fixtures/storyData';
|
|
import { AppShell } from './AppShell';
|
|
|
|
export default {
|
|
title: 'Organisms/App Shell',
|
|
component: AppShell,
|
|
};
|
|
|
|
export const Guest = () => (
|
|
<AppShell showFooter user={null}>
|
|
<h1>Hello World</h1>
|
|
</AppShell>
|
|
);
|
|
|
|
export const LoggedIn = () => (
|
|
<AppShell user={user} guilds={mastheadSlugs}>
|
|
<h1>Hello World</h1>
|
|
</AppShell>
|
|
);
|