mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
feat: add properties for video/image/sticker elements
This commit is contained in:
@@ -1,9 +1,17 @@
|
||||
import type { ImageElement, VideoElement } from "@/types/timeline";
|
||||
import type { ImageElement, StickerElement, VideoElement } from "@/types/timeline";
|
||||
import { BlendingSection, TransformSection } from "./sections";
|
||||
|
||||
export function VideoProperties({
|
||||
_element,
|
||||
element,
|
||||
trackId,
|
||||
}: {
|
||||
_element: VideoElement | ImageElement;
|
||||
element: VideoElement | ImageElement | StickerElement;
|
||||
trackId: string;
|
||||
}) {
|
||||
return <div className="space-y-4 p-5">Video properties</div>;
|
||||
return (
|
||||
<div className="flex h-full flex-col">
|
||||
<TransformSection element={element} trackId={trackId} />
|
||||
<BlendingSection element={element} trackId={trackId} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user