From 35015c3eb92878182e643d897fb4867e8fdd72ef Mon Sep 17 00:00:00 2001 From: Steve <6619472+StephenCavender@users.noreply.github.com> Date: Thu, 18 Aug 2022 15:43:38 -0400 Subject: [PATCH] add applyZOrder to types (#629) * add applyZOrder to types * actually add applyZOrder to view props --- index.d.ts | 10 ++++++++++ package.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 1f376dad..c8410162 100644 --- a/index.d.ts +++ b/index.d.ts @@ -14,12 +14,22 @@ declare module "react-native-twilio-video-webrtc" { trackIdentifier: TrackIdentifier; ref?: React.Ref; scaleType?: scaleType; + /** + * Whether to apply Z ordering to this view. Setting this to true will cause + * this view to appear above other Twilio Video views. + */ + applyZOrder?: boolean | undefined; } interface TwilioVideoLocalViewProps extends ViewProps { enabled: boolean; ref?: React.Ref; scaleType?: scaleType; + /** + * Whether to apply Z ordering to this view. Setting this to true will cause + * this view to appear above other Twilio Video views. + */ + applyZOrder?: boolean | undefined; } interface Participant { diff --git a/package.json b/package.json index 14a84acc..c6956394 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "url": "https://github.com/blackuy/react-native-twilio-video-webrtc.git" }, "homepage": "https://github.com/blackuy/react-native-twilio-video-webrtc", - "version": "2.1.0", + "version": "2.1.1", "description": "Twilio Video WebRTC for React Native.", "main": "index.js", "scripts": {