diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-06-25 21:40:54 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-06-25 21:40:54 +0200 |
| commit | 777b0f700067d7ffde37fbe14ed320f2ef630330 (patch) | |
| tree | 6603d8de2481314155599bb15dab4a076b0478fd /apps/web/src/components/ui | |
| parent | 926aebe00423b5b0b2fd0d8cf0ee97c6e85ec1fd (diff) | |
| download | opencut-777b0f700067d7ffde37fbe14ed320f2ef630330.tar.gz | |
refactor: improved type-safety, removal of any from all instances
Diffstat (limited to 'apps/web/src/components/ui')
| -rw-r--r-- | apps/web/src/components/ui/image-timeline-treatment.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/web/src/components/ui/image-timeline-treatment.tsx b/apps/web/src/components/ui/image-timeline-treatment.tsx index 600dd243..31847df5 100644 --- a/apps/web/src/components/ui/image-timeline-treatment.tsx +++ b/apps/web/src/components/ui/image-timeline-treatment.tsx @@ -2,13 +2,14 @@ import { useState } from "react";
import { cn } from "@/lib/utils";
+import type { BackgroundType } from "@/types/editor";
interface ImageTimelineTreatmentProps {
src: string;
alt: string;
targetAspectRatio?: number; // Default to 16:9 for video
className?: string;
- backgroundType?: "blur" | "mirror" | "color";
+ backgroundType?: BackgroundType;
backgroundColor?: string;
}
|
