mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-30 08:09:15 +01:00
25 lines
497 B
JavaScript
25 lines
497 B
JavaScript
import React from 'react';
|
|
import { action } from '@storybook/addon-actions';
|
|
import NewAccountCreateForm from './new-account.component';
|
|
|
|
export default {
|
|
title: 'Pages/CreateAccount/NewAccount',
|
|
id: __filename,
|
|
argTypes: {
|
|
accounts: {
|
|
control: 'array',
|
|
},
|
|
},
|
|
args: {
|
|
accounts: [],
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => {
|
|
return (
|
|
<NewAccountCreateForm {...args} createAccount={action('Account Created')} />
|
|
);
|
|
};
|
|
|
|
DefaultStory.storyName = 'Default';
|