Skip to content

🎥 Make videos programmatically with React

Restore packages/example/src/Video.tsx

Jonny Burger8e199702a1cb
diff --git a/packages/example/src/Video.tsx b/packages/example/src/Video.tsx
index 47767218db..df800209ff 100644
--- a/packages/example/src/Video.tsx
+++ b/packages/example/src/Video.tsx
@@ -746,19 +746,19 @@ export const Index: React.FC = () => {
]),
})}
defaultProps={{
- vehicle: 'bus' as const,
- other: 'hi. ' as const,
+ vehicle: 'car' as const,
+ other: 'hi' as const,
abc: {
union: null,
def: {unionArray: [null], pef: 'hu' as const},
- jkl: 'sting ' as const,
+ jkl: 'sting' as const,
xyz: 'hi' as const,
},
array: [
- {a: 'a ' as const, b: 'bbbbb' as const},
+ {a: 'a' as const, b: 'bbbbb' as const},
{a: 'a' as const, b: 'b' as const},
],
- array2: [[12], [11]],
+ array2: [[12], [12]],
mynum: 4,
value: true,
haha: null,
@@ -772,6 +772,7 @@ export const Index: React.FC = () => {
longEnum: 'k' as const,
color: '#eb3a60' as const,
nullable: null,
+ optional: undefined,
}}
durationInFrames={150}
/>