Preview:
import {FormCheckboxField} from "ui";
import {ArgsTable, Meta, Story} from "@storybook/addon-docs";

<Meta
    title="Components/Inputs/FormCheckboxField/old"
    component={FormCheckboxField}
/>

export const Template = (args) => <FormCheckboxField {...args} />;

# FormCheckboxField

This component renders an FormCheckboxField.

## Props

<ArgsTable story="Default"/>

## Examples

<Story
    name="Default"
    args={{
        id: "example",
        label: "Label",
        action: () => {
        },
        defaultState: false,
        required: true,
        disabled: false,
        caption: "",
    }}
>
    {Template.bind({})}
</Story>
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter