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.
33 lines
798 B
33 lines
798 B
3 years ago
|
import React from 'react';
|
||
|
import InfoTooltip from '../../ui/info-tooltip/info-tooltip';
|
||
|
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"
|
||
|
subTitle="Very likely in < 15 seconds"
|
||
|
subText={
|
||
|
<>
|
||
|
From <strong>$16565 - $19000</strong>
|
||
|
</>
|
||
|
}
|
||
|
/>
|
||
|
</div>
|
||
|
);
|
||
|
};
|