"use client"; import { TabBar } from "./tabbar"; import { MediaView } from "./views/media"; import { useMediaPanelStore, Tab } from "./store"; import { TextView } from "./views/text"; export function MediaPanel() { const { activeTab } = useMediaPanelStore(); const viewMap: Record = { media: , audio: (
Audio view coming soon...
), text: , stickers: (
Stickers view coming soon...
), effects: (
Effects view coming soon...
), transitions: (
Transitions view coming soon...
), captions: (
Captions view coming soon...
), filters: (
Filters view coming soon...
), adjustment: (
Adjustment view coming soon...
), }; return (
{viewMap[activeTab]}
); }