@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).
24 lines (20 loc) • 478 B
JavaScript
import React from 'react';
import { DeliveryAddressType } from './delivery-address-type';
export default {
title: 'Delivery Address Type',
component: DeliveryAddressType,
};
export const Basic = (args) => (
<div className="ncf">
<DeliveryAddressType {...args} />
</div>
);
export const HomeAndCompanyTypes = (args) => (
<div className="ncf">
<DeliveryAddressType {...args} />
</div>
);
HomeAndCompanyTypes.args = {
value: 'home',
options: ['home', 'company'],
};