mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-05 15:35:46 +01:00
41 lines
759 B
JavaScript
41 lines
759 B
JavaScript
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>
|
|
);
|
|
};
|