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
#29 0 comments 2 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.