A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ciphermask/ui/components/app/edit-gas-display/edit-gas-display.stories.js

37 lines
756 B

import React from 'react';
import PopoverPortal from '../../ui/popover/popover.component';
import Button from '../../ui/button';
import EditGasDisplay from '.';
export default {
title: 'Edit Gas Display',
};
export const basic = () => {
return (
<div style={{ width: '600px' }}>
<EditGasDisplay />
</div>
);
};
export const insidePopover = () => {
return (
<div style={{ width: '600px' }}>
<PopoverPortal
title="Edit gas fee"
onClose={() => console.log('Closing!')}
footer={
<>
<Button type="primary">Save</Button>
</>
}
>
<div style={{ padding: '20px' }}>
<EditGasDisplay />
</div>
</PopoverPortal>
</div>
);
};