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/transaction-detail-item/transaction-detail-item.sto...

34 lines
879 B

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: '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={<GasTiming text="Very likely in < 15 seconds" />}
subText={
<>
From <strong>$16565 - $19000</strong>
</>
}
/>
</div>
);
};