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).

22 lines (18 loc) 543 B
import React from 'react'; import { DeliveryPostcode } from './delivery-postcode'; export default { title: 'Delivery Postcode', component: DeliveryPostcode, argTypes: { additionalFieldInformation: { control: 'text' }, }, }; export const Basic = (args) => <DeliveryPostcode {...args} />; Basic.args = { additionalFieldInformation: 'Some extra information.', }; export const WithLinkToChangeValue = (args) => <DeliveryPostcode {...args} />; WithLinkToChangeValue.args = { country: 'USA', changePostcodeUrl: 'http://local.ft.com', };