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/components/app/edit-gas-display/edit-gas-display.stories.js

41 lines
759 B

import React from 'react';
import EditGasDisplay from '.';
export default {
title: 'Components/App/EditGasDisplay',
id: __filename,
args: {
transaction: {},
},
};
export const DefaultStory = (args) => {
return (
<div style={{ width: '600px' }}>
<EditGasDisplay {...args} />
</div>
);
};
DefaultStory.storyName = 'Default';
export const WithEducation = (args) => {
return (
<div style={{ width: '600px' }}>
<EditGasDisplay showEducationButton {...args} />
</div>
);
};
export const WithDappSuggestedGas = (args) => {
return (
<div style={{ width: '600px' }}>
<EditGasDisplay
dappSuggestedGasFee="100000"
dappOrigin="davidwalsh.name"
{...args}
/>
</div>
);
};