A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
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,
|
|
|
|
};
|