import Joyride from 'react-joyride'; import {useTheme} from '@mui/material/styles'; import {useTranslation} from 'react-i18next'; import useTour from '../../hooks/useTour'; interface Props {} const OnBoardingTour = (props: Props) => { const theme = useTheme(); const {t} = useTranslation(); const {run, steps, step, onTourChange} = useTour(); const translateStep = ({content, ...step}) => ({ content: t(content), ...step, }); return ( ); }; export default OnBoardingTour;