import { CurrencyOption } from 'models/currency-option' ; import { CSSProperties } from 'react' ; import { currencyStyle , currencySymbol } from 'utils/currency' ; export default function CurrencySymbol ( { currency , style , } ) { return ( < span style = { { ... style , ... currencyStyle ( currency ) , } } > { currencySymbol ( currency ) } < /span>); }