2022-03-08 22:50:35 +01:00
|
|
|
import React from 'react';
|
|
|
|
import ConfirmPageContainerHeader from '.';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
title: 'Components/App/ConfirmPageContainer/ConfirmPageContainerHeader',
|
2023-01-20 20:27:46 +01:00
|
|
|
|
2022-03-08 22:50:35 +01:00
|
|
|
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',
|
|
|
|
};
|