import { TransactionSigningSelectors } from '@tests/page-objects/transaction-signing.selectors' ; interface TransactionFeeProps { fee : number | string ; isSponsored : boolean ; } export function TransactionFee ( props ) { const { fee , isSponsored } = props ; return ( < span data - testid = { TransactionSigningSelectors . FeeToBePaidLabel } > { isSponsored ? '🎉 sponsored' : fee } STX < /span>); }