appbaseio / appbaseio/reactivesearch

Failed prop type: SearchSvg: prop type `style` is invalid; it must be a function, usually from the `prop-types` package, but received `undefined`.

Open
#2,081 0 comments 1 reaction 1 assignee Claimed by @mohdashraf010897 View on GitHub
bug
Dominant language
JavaScript
Stars
4.9k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

**Affected Projects**
React

**Library Version:** x.y.z
"@appbaseio/reactivesearch": "3.40.2",

**Describe the bug**
```
Warning: Failed prop type: SearchSvg: prop type `style` is invalid; it must be a function, usually from the `prop-types` package, but received `undefined`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.
at SearchSvg
at DataSearch (webpack-internal:///./node_modules/@appbaseio/reactivesearch/lib/components/search/DataSearch.js:132:3)
at eval (webpack-internal:///./node_modules/@appbaseio/reactivesearch/lib/components/search/DataSearch.js:1777:58)
at render
at Connect (webpack-internal:///./node_modules/react-redux/es/components/connectAdvanced.js:159:37)
at ComponentWrapper (webpack-internal:///./node_modules/@appbaseio/reactivesearch/lib/components/basic/ComponentWrapper.js:47:3)
at Connect (webpack-internal:///./node_modules/react-redux/es/components/connectAdvanced.js:159:37)
at PreferencesConsumer (webpack-internal:///./node_modules/@appbaseio/reactivesearch/lib/components/basic/PreferencesConsumer.js:25:22)
at DataSearch
at div
at Toolbar (webpack-internal:///./node_modules/@material-ui/core/esm/Toolbar/Toolbar.js:49:23)
at WithStyles (webpack-internal:///./node_modules/@material-ui/core/node_modules/@material-ui/styles/esm/withStyles/withStyles.js:61:31)
at header
at Paper (webpack-internal:///./node_modules/@material-ui/core/esm/Paper/Paper.js:48:23)
at WithStyles (webpack-internal:///./node_modules/@material-ui/core/node_modules/@material-ui/styles/esm/withStyles/withStyles.js:61:31)
at AppBar (webpack-internal:///./node_modules/@material-ui/core/esm/AppBar/AppBar.js:107:23)
```

**Additional context**

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.