import React from 'react'
import { Box, Label, CheckBox } from '../..'

export default { title: 'DesignSystem/Atoms/CheckBox' }

export const Default: React.FC = () => (
  <Box flex>
    <Box flexDirection="column" marginRight={15}>
      <CheckBox id="checkbox1" checked />
      <Label inline htmlFor="checkbox1" ml="default">Checked</Label>
    </Box>
    <Box flexDirection="column" marginRight={15}>
      <CheckBox id="checkbox2" />
      <Label inline htmlFor="checkbox2" ml="default">Unchecked</Label>
    </Box>
    <Box flexDirection="column" marginRight={15}>
      <CheckBox id="checkbox3" checked disabled />
      <Label inline htmlFor="checkbox3" ml="default">Disabled</Label>
    </Box>
  </Box>
)
