mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-28 21:42:27 +08:00
refactor(video): rename VideoProps to VideoViewerProps for clarity
This commit is contained in:
parent
63459e3ec4
commit
1e1bfafb88
@ -14,11 +14,11 @@ import { CheckCircleIcon, CircleXIcon } from 'lucide-react'
|
||||
import { useState } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
|
||||
export interface VideoProps {
|
||||
export interface VideoViewerProps {
|
||||
video?: Video
|
||||
}
|
||||
|
||||
export const VideoViewer = ({ video }: VideoProps) => {
|
||||
export const VideoViewer = ({ video }: VideoViewerProps) => {
|
||||
const { t } = useTranslation()
|
||||
const [loadSuccess, setLoadSuccess] = useState<boolean | undefined>(undefined)
|
||||
const { isOpen, onOpen, onClose } = useDisclosure()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user