"use client"; import { useProjectStore } from "@/stores/project-store"; import { useAspectRatio } from "@/hooks/use-aspect-ratio"; import { Label } from "../ui/label"; import { ScrollArea } from "../ui/scroll-area"; import { useTimelineStore } from "@/stores/timeline-store"; import { Textarea } from "../ui/textarea"; import { MediaElement, TextElement } from "@/types/timeline"; import { useMediaStore } from "@/stores/media-store"; export function PropertiesPanel() { const { activeProject } = useProjectStore(); const { getDisplayName, canvasSize } = useAspectRatio(); const { selectedElements, tracks, updateTextElement } = useTimelineStore(); const { mediaItems } = useMediaStore(); const emptyView = (
{/* Media Properties */}
); const TextProperties = (element: TextElement, trackId: string) => (