diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-08-05 08:46:17 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-08-05 08:46:17 +0200 |
| commit | efbbc48bc5d20b8df3c1fe5feab3f6471263da4e (patch) | |
| tree | 2b552acb1ebc9c8354e737c4212177a4d8170bfd /apps/web/src/components/editor/media-panel/views/text.tsx | |
| parent | 949228f0bb0c3776b0459b9bbd93af4b18094626 (diff) | |
| download | opencut-efbbc48bc5d20b8df3c1fe5feab3f6471263da4e.tar.gz | |
refactor: create base view for media panel tabs
Diffstat (limited to 'apps/web/src/components/editor/media-panel/views/text.tsx')
| -rw-r--r-- | apps/web/src/components/editor/media-panel/views/text.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/web/src/components/editor/media-panel/views/text.tsx b/apps/web/src/components/editor/media-panel/views/text.tsx index ca8e88c9..49eacbc7 100644 --- a/apps/web/src/components/editor/media-panel/views/text.tsx +++ b/apps/web/src/components/editor/media-panel/views/text.tsx @@ -1,4 +1,5 @@ import { DraggableMediaItem } from "@/components/ui/draggable-item"; +import { BaseView } from "./base-view"; import { TIMELINE_CONSTANTS } from "@/constants/timeline-constants"; import { useTimelineStore } from "@/stores/timeline-store"; import { type TextElement } from "@/types/timeline"; @@ -28,7 +29,7 @@ const textData: TextElement = { export function TextView() { return ( - <div className="p-4"> + <BaseView> <DraggableMediaItem name="Default text" preview={ @@ -48,6 +49,6 @@ export function TextView() { } showLabel={false} /> - </div> + </BaseView> ); } |
