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/gas-timing/gas-timing.stories.js

50 lines
1.0 KiB

import React from 'react';
import GasTiming from '.';
export default {
title: 'Gas Timing',
};
export const simple = () => {
return (
<div style={{ width: '600px' }}>
<GasTiming text="Likely within 30 seconds" />
</div>
);
};
export const withTooltip = () => {
return (
<div style={{ width: '600px' }}>
<GasTiming
text="Likely within 30 seconds"
tooltipText="This is the tooltip text"
/>
</div>
);
};
export const withAttitudes = () => {
return (
<div style={{ width: '600px' }}>
<GasTiming text="Likely within 30 seconds" />
<GasTiming
text="Likely within 30 seconds"
tooltipText="This is the tooltip text"
attitude="negative"
/>
<GasTiming
text="Likely within 30 seconds"
tooltipText="This is the tooltip text"
attitude="positive"
/>
<GasTiming
text="Likely within 30 seconds"
tooltipText="This is the tooltip text"
attitude="warning"
/>
</div>
);
};