import * as React from "react"; import { Story, Meta } from "@storybook/react"; import CheckboxInput from "../components/CheckboxInput"; import CheckboxStoryHelper from "../stories/helpers/CheckboxStoryHelper"; import { InputStoryWrapper } from "../../../decorators/inputStoryWrapper"; export default { title: "Forms/CheckboxInput", decorators: [Story => {Story()}], component: CheckboxInput, argTypes: { inputLabel: { control: { type: "text" } }, hintContent: { control: { type: "text" } }, dropdown: { control: { disable: true } }, id: { control: { disable: true } }, errors: { control: { disable: true } } }, args: { appearance: "standard", inputLabel: "Default" } } as Meta; const Template: Story = args => ( {({ changeHandler, isChecked }) => ( )} ); export const Default = Template.bind({});