wix-style-react
Version:
wix-style-react
44 lines (40 loc) • 748 B
JavaScript
import Skeleton from '../src/Skeleton';
import { Category } from './storiesHierarchy';
var exampleContent = [{
label: 'small/large/medium',
value: [{
size: 'small',
type: 'line'
}, {
size: 'large',
type: 'line'
}, {
size: 'medium',
type: 'line'
}]
}, {
label: 'small/medium/full',
value: [{
size: 'small',
type: 'line'
}, {
size: 'medium',
type: 'line'
}, {
size: 'full',
type: 'line'
}]
}];
export default {
category: Category.COMPONENTS,
storyName: 'Skeleton',
component: Skeleton,
componentPath: '../src/Skeleton',
componentProps: {
content: exampleContent[0].value,
dataHook: 'storybook-skeleton'
},
exampleProps: {
content: exampleContent
}
};