Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 8 additions & 12 deletions packages/admin-ui/src/page/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ export const Default: Story = {
args: {
title: 'Page title',
showSidebarToggle: false,
children: (
<Text style={ { padding: '24px 24px' } }>Page content here</Text>
),
hasPadding: true,
children: <Text>Page content here</Text>,
},
};

Expand All @@ -46,9 +45,8 @@ export const WithSubtitle: Story = {
title: 'Page title',
subTitle: 'All of the subtitle text you need goes here.',
showSidebarToggle: false,
children: (
<Text style={ { padding: '24px 24px' } }>Page content here</Text>
),
hasPadding: true,
children: <Text>Page content here</Text>,
},
};

Expand All @@ -63,9 +61,8 @@ export const WithBreadcrumbs: Story = {
] }
/>
),
children: (
<Text style={ { padding: '24px 24px' } }>Page content here</Text>
),
hasPadding: true,
children: <Text>Page content here</Text>,
},
};

Expand All @@ -81,8 +78,7 @@ export const WithBreadcrumbsAndSubtitle: Story = {
] }
/>
),
children: (
<Text style={ { padding: '24px 24px' } }>Page content here</Text>
),
hasPadding: true,
children: <Text>Page content here</Text>,
},
};
Loading