1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 15:50:28 +01:00
metamask-extension/ui/components/app/confirm-page-container/confirm-page-container-content/confirm-page-container-summary/confirm-page-container-summary.stories.js
Ayush 1c613a4556
Part of #17670: Replace Typography with Text component (#17959)
* 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>
2023-03-15 17:00:54 -07:00

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';