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": {