searchbox icon indicating copy to clipboard operation
searchbox copied to clipboard

doesn't works with newer react versions and typescript.

Open leandroruel opened this issue 2 years ago • 2 comments

Describe the bug the package doesn`t have types and it not works with react 17 and above

To Reproduce Steps to reproduce the behavior: when install the package

Expected behavior expects to works with react 17 and above + typescript

Screenshots N/A

Desktop (please complete the following information): any OS/Browser/version

Smartphone (please complete the following information): All

Additional context Add any other context about the problem here.

leandroruel avatar Sep 22 '23 17:09 leandroruel

@leandroruel Thanks for reporting this, I recommend using https://npmjs.com/@appbaseio/reactivesearch's SearchBox component instead.

siddharthlatest avatar Sep 23 '23 02:09 siddharthlatest

@leandroruel It's always good to attach a reproducible example/ codesandbox link when reporting an issue.

Please check this example where we are using react 18 - https://codesandbox.io/s/nice-black-gn9w22?file=/package.json

Also, https://github.com/appbaseio/searchbox/pull/362 updates the peer dependency anyway to >= react@15

mohdashraf010897 avatar Oct 05 '23 05:10 mohdashraf010897