1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-30 08:09:15 +01:00
metamask-extension/ui/pages/create-account/new-account.stories.js
2023-01-17 18:42:02 -07:00

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';