1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00
metamask-extension/ui/components/app/multilayer-fee-message/multi-layer-fee-message.stories.js
rohit kerkar 4a8a4aa01b
creating story for multilayer-fee-message & nft-options (#19567)
* creating story for multilayer fee message

* add story for nftoptions

* lint fixed

* suggestion

* Updating function props to actions in storybook

---------

Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-06-20 13:43:27 -07:00

36 lines
702 B
JavaScript

import React from 'react';
import MultilayerFeeMessage from './multi-layer-fee-message';
export default {
title: 'Components/App/MultilayerFeeMessage',
component: MultilayerFeeMessage,
argTypes: {
transaction: {
control: 'object',
},
layer2fee: {
control: 'text',
},
nativeCurrency: {
control: 'text',
},
plainStyle: {
control: 'boolean',
},
},
args: {
transaction: {
txParams: {
value: '0x123456789',
},
},
layer2fee: '0x987654321',
nativeCurrency: 'ETH',
plainStyle: true,
},
};
export const DefaultStory = (args) => <MultilayerFeeMessage {...args} />;
DefaultStory.storyName = 'Default';