mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-02 22:24:27 +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 };
|