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.
36 lines
737 B
36 lines
737 B
3 years ago
|
import React from 'react';
|
||
|
import ConfirmPageContainerHeader from '.';
|
||
|
|
||
|
export default {
|
||
|
title: 'Components/App/ConfirmPageContainer/ConfirmPageContainerHeader',
|
||
|
id: __filename,
|
||
|
argTypes: {
|
||
|
accountAddress: {
|
||
|
control: 'text',
|
||
|
},
|
||
|
showAccountInHeader: {
|
||
|
control: 'boolean',
|
||
|
},
|
||
|
showEdit: {
|
||
|
control: 'boolean',
|
||
|
},
|
||
|
onEdit: {
|
||
|
action: 'onEdit',
|
||
|
},
|
||
|
children: {
|
||
|
control: 'text',
|
||
|
},
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export const DefaultStory = (args) => <ConfirmPageContainerHeader {...args} />;
|
||
|
|
||
|
DefaultStory.storyName = 'Default';
|
||
|
|
||
|
DefaultStory.args = {
|
||
|
showEdit: false,
|
||
|
showAccountInHeader: false,
|
||
|
accountAddress: '0xB8c77482e45F1F44dE1745F52C74426C631bDD52',
|
||
|
children: 'children',
|
||
|
};
|