2021-08-31 01:03:47 +02:00
|
|
|
import React from 'react';
|
|
|
|
import GasFeeDisplay from './gas-fee-display.component';
|
|
|
|
|
|
|
|
export default {
|
2021-12-01 20:27:57 +01:00
|
|
|
title: 'Pages/Send/SendContent/SendGasRow/GasFeeDisplay',
|
2021-09-15 20:55:48 +02:00
|
|
|
id: __filename,
|
2022-01-13 12:36:27 +01:00
|
|
|
argTypes: {
|
|
|
|
gasTotal: { control: 'number' },
|
|
|
|
gasLoadingError: { control: 'boolean' },
|
|
|
|
onReset: { action: 'OnReset' },
|
|
|
|
},
|
2021-08-31 01:03:47 +02:00
|
|
|
};
|
|
|
|
|
2022-01-13 12:36:27 +01:00
|
|
|
export const DefaultStory = (args) => {
|
|
|
|
return <GasFeeDisplay {...args} />;
|
2021-08-31 01:03:47 +02:00
|
|
|
};
|
2021-12-01 20:27:57 +01:00
|
|
|
|
|
|
|
DefaultStory.storyName = 'Default';
|
2022-01-13 12:36:27 +01:00
|
|
|
DefaultStory.args = {
|
|
|
|
gasTotal: 10000000000,
|
|
|
|
gasLoadingError: false,
|
|
|
|
};
|