"use client"; import { ScrollArea } from "@/components/ui/scroll-area"; import { AudioProperties } from "./audio-properties"; import { VideoProperties } from "./video-properties"; import { TextProperties } from "./text-properties"; import { EmptyView } from "./empty-view"; import { useEditor } from "@/hooks/use-editor"; import { useElementSelection } from "@/hooks/timeline/element/use-element-selection"; export function PropertiesPanel() { const editor = useEditor(); const { selectedElements } = useElementSelection(); const elementsWithTracks = editor.timeline.getElementsWithTracks({ elements: selectedElements, }); return (