import clsx from "clsx"; import { type Dispatch, type SetStateAction } from "react"; import type { VideoMetadata } from "../../utils/types.ts"; type Props = { setMetadata: Dispatch>; className?: string; }; const MetadataBox = ({ setMetadata, className }: Props) => (

Title *

setMetadata(prev => ({ ...prev, title: e.target.value }))} className="border border-hairline bg-fields rounded-md w-full p-2 text-sm focus:outline-none focus:ring-2 focus:ring-muted transition-colors" />
); export default MetadataBox;