import CurrencyFormat from 'react-currency-format'; import React from 'react'; import Text from './Text'; interface CurrencyProperties { id?: string; label?: string; name: string; type: string; defer?: boolean; } export default (props: CurrencyProperties): JSX.Element => { const Prepend = (): JSX.Element => ( AUD $ ); return ( <> } />} thousandSeparator={true} decimalScale={2} fixedDecimalScale /> ); };