mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 15:31:16 +08:00
CLEANUP
This commit is contained in:
parent
eee6565bbd
commit
1ab991582b
@ -4,29 +4,6 @@ export default {
|
|||||||
title: 'Core/Layout MDX',
|
title: 'Core/Layout MDX',
|
||||||
};
|
};
|
||||||
|
|
||||||
export const Default = () => <Box>padded by default</Box>;
|
|
||||||
|
|
||||||
export const PaddedBlock = () => <Box>padded</Box>;
|
|
||||||
PaddedBlock.story = { parameters: { layout: 'padded' } };
|
|
||||||
|
|
||||||
export const PaddedInline = () => <Box display="inline-block">padded</Box>;
|
|
||||||
PaddedInline.story = { parameters: { layout: 'padded' } };
|
|
||||||
|
|
||||||
export const FullscreenBlock = () => <Box>fullscreen</Box>;
|
|
||||||
FullscreenBlock.story = { parameters: { layout: 'fullscreen' } };
|
|
||||||
|
|
||||||
export const FullscreenInline = () => <Box display="inline-block">fullscreen</Box>;
|
|
||||||
FullscreenInline.story = { parameters: { layout: 'fullscreen' } };
|
|
||||||
|
|
||||||
export const CenteredBlock = () => <Box>centered</Box>;
|
|
||||||
CenteredBlock.story = { parameters: { layout: 'centered' } };
|
|
||||||
|
|
||||||
export const CenteredInline = () => <Box display="inline-block">centered</Box>;
|
|
||||||
CenteredInline.story = { parameters: { layout: 'centered' } };
|
|
||||||
|
|
||||||
export const Invalid = () => <Box>invalid layout value</Box>;
|
|
||||||
CenteredInline.story = { parameters: { layout: '!invalid!' } };
|
|
||||||
|
|
||||||
<Meta
|
<Meta
|
||||||
title="Core/Layout MDX"
|
title="Core/Layout MDX"
|
||||||
component={Button}
|
component={Button}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user