mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-04 23:14:56 +01:00
30 lines
578 B
JavaScript
30 lines
578 B
JavaScript
|
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 };
|