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',
|
|
|
|
};
|
|
|
|
|
|
|
|
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-02 21:12:13 +02:00
|
|
|
subTitle={<GasTiming text="Very likely in < 15 seconds" />}
|
2021-06-24 01:39:44 +02:00
|
|
|
subText={
|
|
|
|
<>
|
|
|
|
From <strong>$16565 - $19000</strong>
|
|
|
|
</>
|
|
|
|
}
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|