Skip to content

Commit 35015c3

Browse files
add applyZOrder to types (#629)
* add applyZOrder to types * actually add applyZOrder to view props
1 parent 3ab7a31 commit 35015c3

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

index.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,22 @@ declare module "react-native-twilio-video-webrtc" {
1414
trackIdentifier: TrackIdentifier;
1515
ref?: React.Ref<any>;
1616
scaleType?: scaleType;
17+
/**
18+
* Whether to apply Z ordering to this view. Setting this to true will cause
19+
* this view to appear above other Twilio Video views.
20+
*/
21+
applyZOrder?: boolean | undefined;
1722
}
1823

1924
interface TwilioVideoLocalViewProps extends ViewProps {
2025
enabled: boolean;
2126
ref?: React.Ref<any>;
2227
scaleType?: scaleType;
28+
/**
29+
* Whether to apply Z ordering to this view. Setting this to true will cause
30+
* this view to appear above other Twilio Video views.
31+
*/
32+
applyZOrder?: boolean | undefined;
2333
}
2434

2535
interface Participant {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"url": "https://github.com/blackuy/react-native-twilio-video-webrtc.git"
66
},
77
"homepage": "https://github.com/blackuy/react-native-twilio-video-webrtc",
8-
"version": "2.1.0",
8+
"version": "2.1.1",
99
"description": "Twilio Video WebRTC for React Native.",
1010
"main": "index.js",
1111
"scripts": {

0 commit comments

Comments
 (0)