Responsive and customizable search and select for Giphy's GIFs and Stickers.
Improvements
Improvements
Thanks, @Asif-chohan for discovering it.
Fixes
Fixes
Thanks @rushilshah1 for the catch and the debugging.
Improvements
autoFocus
prop, allowing to autofocus the search input field on component initialization.Thanks respectively to @caleb15 and @jkcchan for the suggestions. References:
Improvements
onSearch
callback.Thanks @rushilshah1 for the tip. Reference: https://github.com/sergiop/react-giphy-searchbox/issues/29
Improvements
Please note: since window.fetch() is a native method and it doesn't work on old browsers, if you need to support them you have to add a global polyfill like github/fetch or developit/unfetch. Here you can find the global support for window.fetch() method: https://caniuse.com/#search=fetch.
Improvements