[storybook] Re-order components (#2847)

This commit is contained in:
Stefan Ålund
2020-10-11 07:59:34 +02:00
committed by GitHub
parent 633ef96c0e
commit e3f4fdbad7
6 changed files with 8 additions and 98 deletions
@@ -60,7 +60,7 @@ const CHECKBOX_TREE_ITEMS = [
];
export default {
title: 'CheckboxTree',
title: 'Inputs/CheckboxTree',
component: CheckboxTree,
};
@@ -18,7 +18,7 @@ import React from 'react';
import { Select } from '.';
export default {
title: 'Select',
title: 'Inputs/Select',
component: Select,
};
@@ -24,7 +24,7 @@ export default {
export const Default = () => (
<Grid container spacing={4}>
<Grid item xs={6} sm={4} md={2}>
<Grid item xs={3}>
<ItemCard
title="Item Card"
description="This is the description of an Item Card"
@@ -33,7 +33,7 @@ export const Default = () => (
onClick={() => {}}
/>
</Grid>
<Grid item xs={6} sm={4} md={2}>
<Grid item xs={3}>
<ItemCard
title="Item Card"
description="This is the description of an Item Card"
@@ -47,7 +47,7 @@ export const Default = () => (
export const Tags = () => (
<Grid container spacing={4}>
<Grid item xs={6} sm={4} md={2}>
<Grid item xs={3}>
<ItemCard
title="Item Card"
description="This is a Item Card"
@@ -55,7 +55,7 @@ export const Tags = () => (
label="Button"
/>
</Grid>
<Grid item xs={6} sm={4} md={2}>
<Grid item xs={3}>
<ItemCard
title="Item Card"
description="This is a Item Card"
@@ -36,7 +36,7 @@ import {
import { Box, Typography, Link, Chip, Grid } from '@material-ui/core';
export default {
title: 'Layout/Example Plugin',
title: 'Plugins/Examples',
component: Page,
};
+1 -12
View File
@@ -28,18 +28,7 @@ addParameters({
export const parameters = {
options: {
storySort: {
order: [
'Example Plugin',
'Header',
'Sidebar',
'Tabs',
'Information Card',
'Tabbed Card',
'Table',
'Status',
'Trendline',
'Progress Card',
],
order: ['Plugins', 'Layout', 'Navigation'],
},
},
};