You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
578 B
29 lines
578 B
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 };
|
|
|