appbaseio / reactivesearch

Search UI components for React and Vue
https://opensource.appbase.io/reactivesearch
Apache License 2.0
4.89k stars 466 forks source link

DataSearch import error #447

Closed FilipeCunhaRideways closed 6 years ago

FilipeCunhaRideways commented 6 years ago

I was following the documentation examples and found a problem when trying to use DataSearch.

image

This is my component, it's just a search bar. But when the site is rendered this error appear.

image

I think I'm doing everything right, what can it be? Did I miss something? When I only import ReactiveBase everything works fine.

siddharthlatest commented 6 years ago

@FilipeCunhaRideways Yes, your <DataSearch> component should reside within the ReactiveBase component. (i.e. ReactiveBase should wrap all the ReactiveSearch components)