import { useTranslation } from 'next-i18next' import { FunctionComponent } from 'react' interface TabButtonsProps { activeValue: string className?: string onChange: (x: string) => void values: Array large?: boolean } const TabButtons: FunctionComponent = ({ activeValue, className, values, onChange, large, }) => { const { t } = useTranslation(['common', 'swap']) return (
{values.map((v, i) => (
))}
) } export default TabButtons