mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-03 14:44:27 +01:00
76bfc399b6
* changed knobs * review updates
23 lines
515 B
JavaScript
23 lines
515 B
JavaScript
import React from 'react';
|
|
import GasFeeDisplay from './gas-fee-display.component';
|
|
|
|
export default {
|
|
title: 'Pages/Send/SendContent/SendGasRow/GasFeeDisplay',
|
|
id: __filename,
|
|
argTypes: {
|
|
gasTotal: { control: 'number' },
|
|
gasLoadingError: { control: 'boolean' },
|
|
onReset: { action: 'OnReset' },
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => {
|
|
return <GasFeeDisplay {...args} />;
|
|
};
|
|
|
|
DefaultStory.storyName = 'Default';
|
|
DefaultStory.args = {
|
|
gasTotal: 10000000000,
|
|
gasLoadingError: false,
|
|
};
|