We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15cc4f9 commit b6295acCopy full SHA for b6295ac
index.d.ts
@@ -67,6 +67,10 @@ export interface ContextMenuProps extends ViewProps {
67
* Currently iOS only. Disable menu interaction
68
*/
69
disabled?: boolean;
70
+ /**
71
+ * Children prop as per upgrade docs: https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#updates-to-typescript-definitions
72
+ */
73
+ children?: React.ReactNode;
74
}
75
76
export default class ContextMenu extends Component<ContextMenuProps> { }
package.json
@@ -24,7 +24,7 @@
24
"licenseFilename": "LICENSE",
25
"readmeFilename": "README.md",
26
"peerDependencies": {
27
- "react": "^16.8.1 || ^17.0.0",
+ "react": "^16.8.1 || ^17.0.0 || ^18.0.0",
28
"react-native": ">=0.60.0-rc.0 <1.0.x"
29
30
0 commit comments