"use client"; import { Separator } from "@/components/ui/separator"; import { type Tab, useAssetsPanelStore } from "@/stores/assets-panel-store"; import { TabBar } from "./tabbar"; import { Captions } from "./views/captions"; import { MediaView } from "./views/assets"; import { SettingsView } from "./views/settings"; import { SoundsView } from "./views/sounds"; import { StickersView } from "./views/stickers"; import { TextView } from "./views/text"; import { EffectsView } from "./views/effects"; export function AssetsPanel() { const { activeTab } = useAssetsPanelStore(); const viewMap: Record = { media: , sounds: , text: , stickers: , effects: , transitions: (
Transitions view coming soon...
), captions: , filters: (
Filters view coming soon...
), adjustment: (
Adjustment view coming soon...
), settings: , }; return (
{viewMap[activeTab]}
); }