From ba00881ddcd53c2f5a4e1fc6e30cb5eb7ef674a3 Mon Sep 17 00:00:00 2001 From: Tarun Chauhan Date: Tue, 5 Mar 2024 23:27:58 +0530 Subject: [PATCH] fix: add missing shutterColor type (#3561) --- docs/pages/component/props.md | 2 +- src/VideoNativeComponent.ts | 1 + src/types/video.ts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/pages/component/props.md b/docs/pages/component/props.md index e4ecb974..6ad99bae 100644 --- a/docs/pages/component/props.md +++ b/docs/pages/component/props.md @@ -47,7 +47,7 @@ This page shows the list of available properties to configure player | [selectedAudioTrack](#selectedaudiotrack) | Android, iOS, visionOS | | [selectedTextTrack](#selectedtexttrack) | Android, iOS visionOS | | [selectedVideoTrack](#selectedvideotrack) | Android | -| [shutterColor](#shutterColor) | Android | +| [shutterColor](#shuttercolor) | Android | | [source](#source) | All | | [subtitleStyle](#subtitlestyle) | Android | | [textTracks](#texttracks) | Android, iOS, visionOS | diff --git a/src/VideoNativeComponent.ts b/src/VideoNativeComponent.ts index f173a761..b5c9b982 100644 --- a/src/VideoNativeComponent.ts +++ b/src/VideoNativeComponent.ts @@ -314,6 +314,7 @@ export interface VideoNativeProps extends ViewProps { reportBandwidth?: boolean; //Android selectedVideoTrack?: SelectedVideoTrack; // android subtitleStyle?: SubtitleStyle; // android + shutterColor?: string; // Android trackId?: string; // Android useTextureView?: boolean; // Android useSecureView?: boolean; // Android diff --git a/src/types/video.ts b/src/types/video.ts index 415c69c5..c2395459 100644 --- a/src/types/video.ts +++ b/src/types/video.ts @@ -221,6 +221,7 @@ export interface ReactVideoProps extends ReactVideoEvents, ViewProps { selectedTextTrack?: SelectedTrack; selectedVideoTrack?: SelectedVideoTrack; // android subtitleStyle?: SubtitleStyle; // android + shutterColor?: string; // Android textTracks?: TextTracks; testID?: string; trackId?: string; // Android