Skip to content

Commit ea1a189

Browse files
refactor: refactoring the type for Video package in native.ts
1 parent 3a9857e commit ea1a189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/src/native.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export type VideoType = {
145145
style?: StyleProp<ViewStyle>;
146146
};
147147

148-
export let Video: React.ComponentType<VideoType>;
148+
export let Video: React.ComponentType<VideoType> | undefined;
149149

150150
type Handlers = {
151151
compressImage?: CompressImage;

0 commit comments

Comments
 (0)