2021-06-28 16:45:08 +02:00
|
|
|
import React from 'react';
|
|
|
|
import EditGasPopover from '.';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
title: 'Edit Gas Display Popover',
|
2021-09-15 20:55:48 +02:00
|
|
|
id: __filename,
|
2021-06-28 16:45:08 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
export const basic = () => {
|
|
|
|
return (
|
|
|
|
<div style={{ width: '600px' }}>
|
|
|
|
<EditGasPopover />
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export const basicWithDifferentButtonText = () => {
|
|
|
|
return (
|
|
|
|
<div style={{ width: '600px' }}>
|
|
|
|
<EditGasPopover confirmButtonText="Custom Value" />
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export const educationalContentFlow = () => {
|
|
|
|
return (
|
|
|
|
<div style={{ width: '600px' }}>
|
|
|
|
<EditGasPopover editGasDisplayProps={{ showEducationButton: true }} />
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|