import {Meta, Story} from "@storybook/addon-docs";
import Checkbox from "./Checkbox";

<Meta
  title="Checkbox"
/>

<Story name="Default">
  <Checkbox name="name"/>
</Story>

<Story name="WithHardcodedText">
  <Checkbox name="name" label="Name" helpText="A help text"/>
</Story>

<Story name="WithStyling">
  <Checkbox name="name" className="has-background-blue-light"/>
</Story>

<Story name="WithInitialFocus">
  <Checkbox name="name" autoFocus/>
</Story>

<Story name="Readonly">
  <Checkbox name="name" checked readOnly/>
</Story>
