import { SvgIcon } from "@material-ui/core" ; import { ReactComponent as MimImg } from "../assets/tokens/MIM.svg" ; import { IAllBondData } from "../hooks/bonds" ; import { mim } from "../helpers/bond" ; export const priceUnits = ( bond ) => { if ( bond . name === mim . name ) return < SvgIcon component = { MimImg } viewBox = "0 0 32 32" style = { { height : "15px" , width : "15px" } } />; return "$" ; } ;