diff --git a/README.md b/README.md index 1a261b9..63df6cd 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,20 @@ const elementOnly: React.ReactElement =
||` +Type representing a React ref returned from `createRef`, pointing to a native DOM component (e.g. `
`), or a user-defined composite component (e.g. `= React.createRef
(); +``` +[⇧ back to top](#table-of-contents) + #### `React.ReactNode` Type representing any possible type of React node (basically ReactElement (including Fragments and Portals) + primitive JS types) ```tsx