import type { FC } from 'react' import { RiArrowLeftLine } from '@remixicon/react' import Link from 'next/link' import { useTranslation } from 'react-i18next' import { Stepper, type StepperProps } from '../stepper' import classNames from '@/utils/classnames' export type TopbarProps = Pick & { className?: string } const STEP_T_MAP: Record = { 1: 'datasetCreation.steps.one', 2: 'datasetCreation.steps.two', 3: 'datasetCreation.steps.three', } export const Topbar: FC = (props) => { const { className, ...rest } = props const { t } = useTranslation() return

{t('datasetCreation.steps.header.creation')}

({ name: t(STEP_T_MAP[i + 1]), }))} {...rest} />
}