diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-07-21 11:52:48 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-07-21 11:52:48 +0200 |
| commit | 4c2d8c52ab43837547e840ea4ed13b2c5d68d7e4 (patch) | |
| tree | 103c64773548cbb2145826a1bb38d55de3efc969 /apps/web/src/components/editor/media-panel/index.tsx | |
| parent | e74e60d5bf3fdf04e27f048da2bf0a3d89d9a856 (diff) | |
| download | opencut-4c2d8c52ab43837547e840ea4ed13b2c5d68d7e4.tar.gz | |
feat: basic audio view in media panel
Diffstat (limited to 'apps/web/src/components/editor/media-panel/index.tsx')
| -rw-r--r-- | apps/web/src/components/editor/media-panel/index.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/web/src/components/editor/media-panel/index.tsx b/apps/web/src/components/editor/media-panel/index.tsx index 9f7322c7..90ac84f0 100644 --- a/apps/web/src/components/editor/media-panel/index.tsx +++ b/apps/web/src/components/editor/media-panel/index.tsx @@ -4,15 +4,14 @@ 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<Tab, React.ReactNode> = {
media: <MediaView />,
- audio: (
- <div className="p-4 text-muted-foreground">Audio view coming soon...</div>
- ),
+ audio: <AudioView />,
text: <TextView />,
stickers: (
<div className="p-4 text-muted-foreground">
|
