mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-29 15:50:28 +01:00
1c613a4556
* Updated confirm-page-container-summary.component.js * Updated snap-insight.js * Updated confirmation-warning-modal.js * Updated create-new-vault.js * Fixing import errors, linting errors and adding a story * Updating storybook path * Updating snapshot --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
66 lines
1.3 KiB
JavaScript
66 lines
1.3 KiB
JavaScript
import React from 'react';
|
|
import ConfirmPageContainerSummary from '.';
|
|
|
|
export default {
|
|
title:
|
|
'Components/App/ConfirmPageContainer/ConfirmPageContainerContent/ConfirmPageContainerSummary',
|
|
argTypes: {
|
|
action: {
|
|
control: 'text',
|
|
},
|
|
title: {
|
|
control: 'text',
|
|
},
|
|
image: {
|
|
control: 'text',
|
|
},
|
|
titleComponent: {
|
|
control: 'text',
|
|
},
|
|
subtitleComponent: {
|
|
control: 'text',
|
|
},
|
|
hideSubtitle: {
|
|
control: 'boolean',
|
|
},
|
|
className: {
|
|
control: 'text',
|
|
},
|
|
tokenAddress: {
|
|
control: 'text',
|
|
},
|
|
toAddress: {
|
|
control: 'text',
|
|
},
|
|
nonce: {
|
|
control: 'text',
|
|
},
|
|
origin: {
|
|
control: 'text',
|
|
},
|
|
hideTitle: {
|
|
control: 'boolean',
|
|
},
|
|
transactionType: {
|
|
control: 'text',
|
|
},
|
|
},
|
|
args: {
|
|
action: 'action',
|
|
title: 'title',
|
|
titleComponent: 'titleComponent',
|
|
subtitleComponent: 'subtitleComponent',
|
|
className: 'className',
|
|
tokenAddress: '0x2170ed0880ac9a755fd29b2688956bd959f933f8',
|
|
toAddress: '0x2170ed0880ac9a755fd29b2688956bd959f933f8',
|
|
nonce: 'nonce',
|
|
origin: 'origin',
|
|
hideTitle: 'hideTitle',
|
|
transactionType: 'transactionType',
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => <ConfirmPageContainerSummary {...args} />;
|
|
|
|
DefaultStory.storyName = 'Default';
|