"use client"; import { TabBar } from "./tabbar"; import { MediaView } from "./views/media"; import { useMediaPanelStore, Tab } from "./store"; import { TextView } from "./views/text"; import { AudioView } from "./views/audio"; export function MediaPanel() { const { activeTab } = useMediaPanelStore(); const viewMap: Record = { media: , audio: , 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]}
); }