2021-06-24 01:39:44 +02:00
|
|
|
import React from 'react';
|
|
|
|
import EditGasDisplay from '.';
|
|
|
|
|
|
|
|
export default {
|
2021-12-01 20:27:57 +01:00
|
|
|
title: 'Components/App/EditGasDisplay',
|
2021-09-15 20:55:48 +02:00
|
|
|
id: __filename,
|
2021-06-24 01:39:44 +02:00
|
|
|
};
|
|
|
|
|
2021-12-01 20:27:57 +01:00
|
|
|
export const DefaultStory = () => {
|
2021-06-24 01:39:44 +02:00
|
|
|
return (
|
|
|
|
<div style={{ width: '600px' }}>
|
|
|
|
<EditGasDisplay />
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
2021-12-01 20:27:57 +01:00
|
|
|
DefaultStory.storyName = 'Default';
|
|
|
|
|
|
|
|
export const WithEducation = () => {
|
2021-06-24 01:39:44 +02:00
|
|
|
return (
|
|
|
|
<div style={{ width: '600px' }}>
|
2021-06-28 16:45:08 +02:00
|
|
|
<EditGasDisplay showEducationButton />
|
2021-06-24 01:39:44 +02:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
2021-07-01 16:36:48 +02:00
|
|
|
|
2021-12-01 20:27:57 +01:00
|
|
|
export const WithDappSuggestedGas = () => {
|
2021-07-01 16:36:48 +02:00
|
|
|
return (
|
|
|
|
<div style={{ width: '600px' }}>
|
|
|
|
<EditGasDisplay
|
|
|
|
dappSuggestedGasFee="100000"
|
|
|
|
dappOrigin="davidwalsh.name"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|