From 553d3080011565526a7f7cbc8de60f8b7645f4fc Mon Sep 17 00:00:00 2001 From: Pasichnichenkoilya Date: Fri, 26 Jul 2024 14:29:57 +0300 Subject: [PATCH] Rewrote VideoPresentation to tsx --- .../{VideoPresentation.jsx => VideoPresentation.tsx} | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) rename src/containers/user-profile/video-presentation/{VideoPresentation.jsx => VideoPresentation.tsx} (77%) diff --git a/src/containers/user-profile/video-presentation/VideoPresentation.jsx b/src/containers/user-profile/video-presentation/VideoPresentation.tsx similarity index 77% rename from src/containers/user-profile/video-presentation/VideoPresentation.jsx rename to src/containers/user-profile/video-presentation/VideoPresentation.tsx index 890eda16d..ad8057c3d 100644 --- a/src/containers/user-profile/video-presentation/VideoPresentation.jsx +++ b/src/containers/user-profile/video-presentation/VideoPresentation.tsx @@ -4,7 +4,17 @@ import Typography from '@mui/material/Typography' import VideoBox from '~/components/video-box/VideoBox' import { ComponentEnum } from '~/types' -const VideoPresentation = ({ video, videoPreview, videoMock }) => { +interface VideoPresentationProps { + video: string + videoPreview: boolean + videoMock: string +} + +const VideoPresentation = ({ + video, + videoPreview, + videoMock +}: VideoPresentationProps) => { const { t } = useTranslation() return (