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.
20 lines
523 B
20 lines
523 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: 'GasFeeDisplay',
|
|
id: __filename,
|
|
};
|
|
|
|
export const GasFeeDisplayComponent = () => {
|
|
const gasTotal = number('Gas Total', 10000000000);
|
|
return (
|
|
<GasFeeDisplay
|
|
gasTotal={gasTotal}
|
|
gasLoadingError={boolean('Gas Loading Error', false)}
|
|
onReset={action('OnReset')}
|
|
/>
|
|
);
|
|
};
|
|
|