import React from 'react' import { StoryFn, Meta } from '@storybook/react' import Component from '.' export default { title: 'TransactionUI/Input.Boolean', component: Component, } as Meta const Template: StoryFn = args => export const Default = Template.bind({}) Default.args = { label: 'Add to mailing list', onUpdatePendingReturnValue: () => { /**/ }, onStateChange: () => { /**/ }, } export const WithHelpText = Template.bind({}) WithHelpText.args = { label: 'Send confirmation email', helpText: 'Will be delivered to alex@interval.com', onUpdatePendingReturnValue: () => { /**/ }, onStateChange: () => { /**/ }, }