@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).
15 lines (12 loc) • 294 B
JavaScript
import React from 'react';
import { Loader } from './loader';
export default {
title: 'Loader',
component: Loader,
};
export const Basic = (args) => <Loader {...args} />;
Basic.args = {
showLoader: true,
title: 'Loading!',
children: <div>Loading text from the children prop...</div>,
};