1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-13 21:27:12 +01:00
metamask-extension/ui/components/app/confirm-page-container/confirm-detail-row/confirm-detail-row.stories.js

48 lines
982 B
JavaScript
Raw Normal View History

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