/* eslint-disable react/jsx-closing-tag-location */ import React from 'react' import { withKnobs, boolean, select } from '../../storybook/node_modules/@storybook/addon-knobs' import { Label, Text, Box, Icon } from '..' import StoryWrapper from '../utils/story-wrapper' export default { title: 'DesignSystem/Atoms/Label', decorators: [withKnobs] } const variants = ['primary', 'danger', 'success', 'info', 'secondary'] as const export const Default: React.FC = () => { const required = boolean('required', false) const uppercase = boolean('uppercase', false) const disabled = boolean('disabled', false) const size = select('size', ['default', 'lg'], 'default') return ( After which there is a text. {variants.map((variant) => ( ))} ) }