import classNames from 'classnames' import { FormattedNumber } from 'components/FormattedNumber' import { InfoCircle } from 'components/Icons' import Text from 'components/Text' import { Tooltip } from 'components/Tooltip' interface Props { rate: number isEnabled: boolean type: 'apy' | 'apr' orientation: 'ltr' | 'rtl' className?: string suffix?: boolean } interface TooltipProps { orientation: Props['orientation'] } function RateTooltip(props: TooltipProps) { return ( ) } export default function AssetRate(props: Props) { const { rate, isEnabled, type, orientation, className } = props const suffix = type === 'apy' ? 'APY' : 'APR' if (!isEnabled) return ( {orientation === 'ltr' && }N/A {orientation === 'rtl' && } ) return ( ) }