2021-06-24 01:39:44 +02:00
|
|
|
import React from 'react';
|
|
|
|
import EditGasDisplay from '.';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
title: 'Edit Gas Display',
|
|
|
|
};
|
|
|
|
|
|
|
|
export const basic = () => {
|
|
|
|
return (
|
|
|
|
<div style={{ width: '600px' }}>
|
|
|
|
<EditGasDisplay />
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
2021-06-28 16:45:08 +02:00
|
|
|
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
|
|
|
|
|
|
|
export const withDappSuggestedGas = () => {
|
|
|
|
return (
|
|
|
|
<div style={{ width: '600px' }}>
|
|
|
|
<EditGasDisplay
|
|
|
|
dappSuggestedGasFee="100000"
|
|
|
|
dappOrigin="davidwalsh.name"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|