UNPKG

@financial-times/n-conversion-forms

Version:

Containing jsx components and styles for forms included on Accounts and Acqusition apps (next-signup, next-profile, next-retention, etc).

27 lines (22 loc) 627 B
import React from 'react'; import { DeliveryInstructions } from './delivery-instructions'; export default { title: 'Delivery Instructions', component: DeliveryInstructions, argTypes: { hasError: { control: 'boolean' }, isDisabled: { control: 'boolean' }, }, }; export const Basic = (args) => <DeliveryInstructions {...args} />; Basic.args = { country: 'GBR', }; export const SpanMessageForUSA = (args) => <DeliveryInstructions {...args} />; SpanMessageForUSA.args = { country: 'USA', }; export const SpanMessageForCAN = (args) => <DeliveryInstructions {...args} />; SpanMessageForCAN.args = { country: 'CAN', };