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.
|
|
|
import React from 'react';
|
|
|
|
import InfoTooltip from '../../ui/info-tooltip/info-tooltip';
|
|
|
|
import GasTiming from '../gas-timing/gas-timing.component';
|
|
|
|
import TransactionDetailItem from '.';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
title: 'Components/App/TransactionDetailItem',
|
|
|
|
id: __filename,
|
|
|
|
};
|
|
|
|
|
|
|
|
export const DefaultStory = () => {
|
|
|
|
return (
|
|
|
|
<div style={{ width: '400px' }}>
|
|
|
|
<TransactionDetailItem
|
|
|
|
detailTitle={
|
|
|
|
<>
|
|
|
|
<strong>Estimated gas fee</strong>
|
|
|
|
<InfoTooltip contentText="This is the tooltip text" position="top">
|
|
|
|
<i className="fa fa-info-circle" />
|
|
|
|
</InfoTooltip>
|
|
|
|
</>
|
|
|
|
}
|
|
|
|
detailText="16565.30"
|
|
|
|
detailTotal="0.0089 ETH"
|
|
|
|
subTitle={<GasTiming maxPriorityFeePerGas="1" />}
|
|
|
|
subText={
|
|
|
|
<>
|
|
|
|
From <strong>$16565 - $19000</strong>
|
|
|
|
</>
|
|
|
|
}
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
DefaultStory.storyName = 'Default';
|