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...

32 lines
798 B

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>
);
};