import React from "react"; import { LoremIpsum } from "react-lorem-ipsum"; import { Meta, StoryFn } from "@storybook/react"; import { Checkbox, HtmlContentBlock } from "../../../components"; export default { title: "Forms/Checkbox", component: Checkbox, argTypes: { onChange: { action: "clicked" }, }, } as Meta; const Template: StoryFn = (args) => ; export const SimpleTextLabel = Template.bind({}); SimpleTextLabel.args = { label: "Checkbox label", inline: true, }; export const ElementsAsLabel = Template.bind({}); ElementsAsLabel.args = { ...SimpleTextLabel.args, label: undefined, inline: false, children: ( ), };