Skip to content

Commit afeee17

Browse files
authored
Merge pull request #166 from DoctrinAB/EBBACKLOG-19619-update-doctrinab-opentok-react
19619: Add react 17 and 18 as acceptable peer dependency
2 parents 31c3a19 + c38033e commit afeee17

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"license": "MIT",
2828
"peerDependencies": {
29-
"react": "^16.0.0"
29+
"react": "16 || 17 || 18"
3030
},
3131
"dependencies": {
3232
"lodash": "^4.17.21",

types/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export interface OTSessionProps {
3333
eventHandlers?: SessionEventHandlers;
3434
onConnect?: () => void;
3535
onError?: (error: Error) => void;
36+
children?: React.ReactNode;
3637
}
3738

3839
export interface OTStreamsProps {

0 commit comments

Comments
 (0)