1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 23:58:06 +01:00
metamask-extension/ui/pages/create-account/new-account.stories.js

23 lines
496 B
JavaScript
Raw Normal View History

import { action } from '@storybook/addon-actions';
import React from 'react';
import NewAccountCreateForm from './new-account.component';
export default {
title: 'Pages/CreateAccount/NewAccount',
component: NewAccountCreateForm,
2023-01-18 02:42:02 +01:00
argTypes: {
accounts: {
control: 'array',
},
},
args: {
accounts: [],
},
};
export const DefaultStory = (args) => (
<NewAccountCreateForm {...args} createAccount={action('Account Created')} />
);
DefaultStory.storyName = 'Default';