import { useTranslation } from 'next-i18next'
const TabUnderline = ({
activeValue,
values,
onChange,
small,
}: {
activeValue: string
onChange: (x: any) => void
values: string[]
small?: boolean
}) => {
const { t } = useTranslation('common')
return (
v === activeValue) * 100
}%)`,
width: `${100 / values.length}%`,
}}
/>
)
}
export default TabUnderline