UNPKG

@gitlab/ui

Version:
20 lines (16 loc) 488 B
import { withKnobs } from '@storybook/addon-knobs'; import { documentedStoriesOf } from '../../../../documentation/documented_stories'; import readme from './dashboard_skeleton.md'; import { GlDashboardSkeleton } from '../../../../index'; const components = { GlDashboardSkeleton, }; const template = ` <gl-dashboard-skeleton /> `; documentedStoriesOf('regions|dashboard-skeleton', readme) .addDecorator(withKnobs) .add('default', () => ({ components, template, }));