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

30 lines
561 B
JavaScript
Raw Normal View History

import React from 'react';
import CreateNewVault from '.';
export default {
title: 'Components/App/CreateNewVault',
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 };