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

16 lines (13 loc) 360 B
import React from 'react'; import { YearOfBirth } from './year-of-birth'; export default { title: 'Year of Birth', component: YearOfBirth, }; export const Basic = (args) => <YearOfBirth {...args} />; Basic.args = { isRequired: true, value: '1980', prompt: 'This helps us ensure people of all ages find value in the FT', fieldLabel: 'Year of birth', };