Implement new UI
This commit is contained in:
19
front/src/layout/__stories__/AppLayout.stories.tsx
Normal file
19
front/src/layout/__stories__/AppLayout.stories.tsx
Normal file
@ -0,0 +1,19 @@
|
||||
import { MemoryRouter } from 'react-router-dom';
|
||||
import AppLayout from '../AppLayout';
|
||||
import { ThemeProvider } from '@emotion/react';
|
||||
import { lightTheme } from '../styles/themes';
|
||||
|
||||
export default {
|
||||
title: 'AppLayout',
|
||||
component: AppLayout,
|
||||
};
|
||||
|
||||
export const AppLayoutDefault = () => (
|
||||
<ThemeProvider theme={lightTheme}>
|
||||
<MemoryRouter>
|
||||
<AppLayout>
|
||||
<div data-testid="content">Test</div>
|
||||
</AppLayout>
|
||||
</MemoryRouter>
|
||||
</ThemeProvider>
|
||||
);
|
||||
Reference in New Issue
Block a user