Skip to content

Commit

Permalink
add applyZOrder to types (#629)
Browse files Browse the repository at this point in the history
* add applyZOrder to types

* actually add applyZOrder to view props
  • Loading branch information
StephenCavender authored Aug 18, 2022
1 parent 3ab7a31 commit 35015c3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,22 @@ declare module "react-native-twilio-video-webrtc" {
trackIdentifier: TrackIdentifier;
ref?: React.Ref<any>;
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<any>;
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 {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 35015c3

Please sign in to comment.