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.
ciphermask/ui/pages/send/send-content/send-gas-row/gas-fee-display/gas-fee-display.stories.js

23 lines
584 B

import React from 'react';
import { action } from '@storybook/addon-actions';
import { number, boolean } from '@storybook/addon-knobs';
import GasFeeDisplay from './gas-fee-display.component';
export default {
title: 'Pages/Send/SendContent/SendGasRow/GasFeeDisplay',
id: __filename,
};
export const DefaultStory = () => {
const gasTotal = number('Gas Total', 10000000000);
return (
<GasFeeDisplay
gasTotal={gasTotal}
gasLoadingError={boolean('Gas Loading Error', false)}
onReset={action('OnReset')}
/>
);
};
DefaultStory.storyName = 'Default';