UNPKG

@gitlab/ui

Version:
15 lines (12 loc) 345 B
import { withKnobs } from '@storybook/addon-knobs'; import { documentedStoriesOf } from '../../../../documentation/documented_stories'; const template = ` <div> <gl-badge variant="primary">Testbadge</gl-badge> </div> `; documentedStoriesOf('base|badge', '') .addDecorator(withKnobs) .add('default', () => ({ template, }));