import { action } from '@storybook/addon-actions'; import { linkTo } from '@storybook/addon-links'; import Label from './label.component'; export default { title: 'UIUX/Label', component: Label, argTypes: { text: {control: 'text'}, bgColor: {control: { type: 'select', options: ["#ff0", "#F00", "#0F0"]} }} }; const LabelStory = (args: Label) => ({ component: Label, props: args, }); export const LabelText = LabelStory.bind({}); LabelText.args = { text: 'Default Label' };