diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-07-03 22:07:33 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-07-03 22:07:33 +0200 |
| commit | 434a832d8ed38563d61e091a45a6d68c688c973b (patch) | |
| tree | 0e298acd798fe2422b37fe701a5187a63ec75d63 /apps/web/src/components/editor/media-panel/index.tsx | |
| parent | 1372c218ad0bf75deee82e18ddf7814aecb5344d (diff) | |
| download | opencut-434a832d8ed38563d61e091a45a6d68c688c973b.tar.gz | |
feat: add TextView component to 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 f855fa36..51e9a264 100644 --- a/apps/web/src/components/editor/media-panel/index.tsx +++ b/apps/web/src/components/editor/media-panel/index.tsx @@ -3,6 +3,7 @@ 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();
@@ -12,9 +13,7 @@ export function MediaPanel() { audio: (
<div className="p-4 text-muted-foreground">Audio view coming soon...</div>
),
- text: (
- <div className="p-4 text-muted-foreground">Text view coming soon...</div>
- ),
+ text: <TextView />,
stickers: (
<div className="p-4 text-muted-foreground">
Stickers view coming soon...
|
