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