1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-04 23:14:56 +01:00
metamask-extension/ui/components/app/create-new-vault/create-new-vault.stories.js

30 lines
578 B
JavaScript
Raw Normal View History

import React from 'react';
import CreateNewVault from '.';
export default {
title: 'Components/App/CreateNewVault',
id: __filename,
argTypes: {
disabled: { control: 'boolean' },
submitText: { control: 'text' },
},
args: {
submitText: 'Import',
},
};
const Template = (args) => {
return (
<div style={{ width: '600px' }}>
<CreateNewVault {...args} />
</div>
);
};
export const DefaultStory = Template.bind({});
DefaultStory.storyName = 'Default';
export const WithTerms = Template.bind({});
WithTerms.args = { includeTerms: true };