2021-06-24 01:39:44 +02:00
|
|
|
import React from 'react';
|
|
|
|
import InfoTooltip from '../../ui/info-tooltip/info-tooltip';
|
2021-07-02 21:12:13 +02:00
|
|
|
import GasTiming from '../gas-timing/gas-timing.component';
|
2021-06-24 01:39:44 +02:00
|
|
|
import TransactionDetailItem from '.';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
title: 'Transaction Detail Item',
|
2021-09-15 20:55:48 +02:00
|
|
|
id: __filename,
|
2021-06-24 01:39:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
export const basic = () => {
|
|
|
|
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"
|
2021-07-26 17:35:51 +02:00
|
|
|
subTitle={<GasTiming maxPriorityFeePerGas="1" />}
|
2021-06-24 01:39:44 +02:00
|
|
|
subText={
|
|
|
|
<>
|
|
|
|
From <strong>$16565 - $19000</strong>
|
|
|
|
</>
|
|
|
|
}
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|