{t(item[1].number)}
{t(item[1].title)}
import React, { useState } from 'react'; import { useTranslation } from 'react-i18next'; import {VideoPage as VideoPageData} from '../../data.json' const VideoPage = () => { const [isPlaying, setIsPlaying] = useState(false); const [t] = useTranslation(); const handlePlayPause = () => { setIsPlaying(!isPlaying); }; return (
{VideoPageData.description}
{t(item[1].title)}