import React from 'react'

import { ComponentStory, ComponentMeta } from '@storybook/react'

import { Badge } from '../components'

export default {
  title: 'Components/Badge',
  component: Badge,
} as ComponentMeta<typeof Badge>

const Template: ComponentStory<typeof Badge> = (args) => {
  return <Badge {...args} />
}

export const Element = Template.bind({})

Element.args = {
  children: 'low',
  type: 'low',
}
