Skip to content

Commit 428e7f9

Browse files
committed
Add video animation
1 parent 83503e3 commit 428e7f9

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

packages/sdk-components-react/src/video.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,20 @@ export const Video = forwardRef<
2828
$progress?: Atom<number | undefined>;
2929
$visible?: Atom<boolean>;
3030
$timeline?: boolean;
31+
} & {
32+
$webstudio$canvasOnly$assetId?: string | undefined;
3133
}
3234
>(
3335
(
34-
{ $progress, $visible, $timeline, children, src: srcProp, ...props },
36+
{
37+
$progress,
38+
$visible,
39+
$timeline,
40+
$webstudio$canvasOnly$assetId: _,
41+
children,
42+
src: srcProp,
43+
...props
44+
},
3545
ref
3646
) => {
3747
const id = useId();

0 commit comments

Comments
 (0)