import React, { useState } from 'react'; import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; export const VideoShareForm: React.FC<{ onCancel: () => void; onShare: (videoUrl: string, videoName: string) => void }> = ({ onCancel, onShare }) => { const [videoUrl, setVideoUrl] = useState(''); const [videoName, setVideoName] = useState(''); const handleShare = () => { onShare(videoUrl, videoName); }; return (