mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
SB:EditGasDisplay: fix error (#14946)
This commit is contained in:
parent
ac956c43d8
commit
73488766b6
@ -4,32 +4,36 @@ import EditGasDisplay from '.';
|
||||
export default {
|
||||
title: 'Components/App/EditGasDisplay',
|
||||
id: __filename,
|
||||
args: {
|
||||
transaction: {},
|
||||
},
|
||||
};
|
||||
|
||||
export const DefaultStory = () => {
|
||||
export const DefaultStory = (args) => {
|
||||
return (
|
||||
<div style={{ width: '600px' }}>
|
||||
<EditGasDisplay />
|
||||
<EditGasDisplay {...args} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
DefaultStory.storyName = 'Default';
|
||||
|
||||
export const WithEducation = () => {
|
||||
export const WithEducation = (args) => {
|
||||
return (
|
||||
<div style={{ width: '600px' }}>
|
||||
<EditGasDisplay showEducationButton />
|
||||
<EditGasDisplay showEducationButton {...args} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export const WithDappSuggestedGas = () => {
|
||||
export const WithDappSuggestedGas = (args) => {
|
||||
return (
|
||||
<div style={{ width: '600px' }}>
|
||||
<EditGasDisplay
|
||||
dappSuggestedGasFee="100000"
|
||||
dappOrigin="davidwalsh.name"
|
||||
{...args}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user