mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-11 20:27:12 +01:00
694773f17a
Co-authored-by: georgewrmarshall <george.marshall@consensys.net> Co-authored-by: NidhiKJha <nidhi.kumari@consensys.net> Co-authored-by: montelaidev <monte.lai@consensys.net>
23 lines
496 B
JavaScript
23 lines
496 B
JavaScript
import { action } from '@storybook/addon-actions';
|
|
import React from 'react';
|
|
import NewAccountCreateForm from './new-account.component';
|
|
|
|
export default {
|
|
title: 'Pages/CreateAccount/NewAccount',
|
|
component: NewAccountCreateForm,
|
|
argTypes: {
|
|
accounts: {
|
|
control: 'array',
|
|
},
|
|
},
|
|
args: {
|
|
accounts: [],
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => (
|
|
<NewAccountCreateForm {...args} createAccount={action('Account Created')} />
|
|
);
|
|
|
|
DefaultStory.storyName = 'Default';
|