1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-05 07:24:56 +01:00
metamask-extension/ui/components/app/confirm-page-container/confirm-detail-row/confirm-detail-row.stories.js
George Marshall 8fcbebc546
Update design tokens library from 1.5 to 1.6 WIP (#14732)
* Updating account menu icon color

* Updating design-tokens and making appropriate updates to extension styles

* Adding more deprecated tags to colors

* Adding spinner and removing todo comment

* Remove comment

* Updates

* Updating snapshots

* More color and ui updates

* reverting transition change
2022-05-25 08:35:36 -07:00

48 lines
982 B
JavaScript

import React from 'react';
import ConfirmDetailRow from '.';
export default {
title: 'Components/App/ConfirmPageContainer/ConfirmDetailRow',
id: __filename,
argTypes: {
headerText: {
control: 'text',
},
headerTextClassName: {
control: 'text',
},
label: {
control: 'text',
},
onHeaderClick: {
control: 'text',
},
primaryValueTextColor: {
control: 'text',
},
primaryText: {
control: 'text',
},
secondaryText: {
control: 'text',
},
value: {
control: 'text',
},
},
args: {
headerText: 'headerText',
headerTextClassName: 'headerTextClassName',
label: 'label',
onHeaderClick: 'onHeaderClick',
primaryValueTextColor: 'primaryValueTextColor',
primaryText: 'primaryText',
secondaryText: 'secondaryText',
value: 'value',
},
};
export const DefaultStory = (args) => <ConfirmDetailRow {...args} />;
DefaultStory.storyName = 'Default';