UNPKG

@financial-times/n-conversion-forms

Version:

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

29 lines (24 loc) 701 B
import React from 'react'; import { DeliveryPOBox } from './delivery-po-box'; export default { title: 'Delivery P.O. Box', component: DeliveryPOBox, argTypes: { fieldId: { control: 'text' }, inputId: { control: 'text' }, value: { control: 'text' }, maxlength: { control: 'number' }, hasError: { control: 'boolean' }, isDisabled: { control: 'boolean' }, isHidden: { control: 'boolean' }, }, }; export const Basic = (args) => <DeliveryPOBox {...args} />; export const UnitedStatesPOBox = (args) => <DeliveryPOBox {...args} />; UnitedStatesPOBox.args = { country: 'USA', }; export const CanadaPOBox = (args) => <DeliveryPOBox {...args} />; CanadaPOBox.args = { country: 'CAN', };