1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-13 13:17:13 +01:00
metamask-extension/ui/components/app/edit-gas-display/edit-gas-display.stories.js
2022-06-15 14:55:04 -05:00

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>
);
};