1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-30 16:18:07 +01:00
metamask-extension/ui/components/app/edit-gas-popover/edit-gas-popover.stories.js

31 lines
608 B
JavaScript

import React from 'react';
import EditGasPopover from '.';
export default {
title: 'Edit Gas Display Popover',
};
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>
);
};