cedricdelpoux / cedricdelpoux/react-simple-tooltip
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
Open
- Dominant language
- JavaScript
- Stars
- 55
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Hi! I have a problem with this tooltip.
How I use it (just copy from readme):
```
import React from 'react'
import Tooltip from 'react-simple-tooltip'
const Creative = props => {
return (
test
)
}
export default React.memo(Creative)
```
I got the following error: `Uncaught Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.`
I use:
`"react": "^16.8.0",`
`"react-dom": "^16.8.0",`
Contributor guide
Assessment
This issue has not been assessed yet.