@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).
17 lines (14 loc) • 321 B
JavaScript
import React from 'react';
import { Section } from './section';
export default {
title: 'Section',
component: Section,
};
export const Basic = (args) => <Section {...args} />;
Basic.args = {
children: (
<div style={{ border: '4px solid blue', padding: '10px' }}>
This is a passed in child node!
</div>
),
};