adds search bar functionality

The process of finding image for a specific device by select inputs
was a tidious one.
Search bar functionality was introduced to make the process easier
and convenient.
The search uses fuzzyset.js to find possible suggestions for the user
in realtime.

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
This commit is contained in:
Sudhanshu Gautam 2019-07-03 02:51:14 +05:30
parent 07b13c3f7a
commit 3f7007f259
6 changed files with 180 additions and 337 deletions

View file

@ -6,6 +6,7 @@
"dependencies": {
"@material-ui/core": "^4.1.2",
"@material-ui/icons": "^4.2.1",
"fuzzyset.js": "^0.0.8",
"gh-pages": "^2.0.1",
"i18next": "^17.0.4",
"i18next-browser-languagedetector": "^3.0.1",
@ -14,8 +15,7 @@
"react-dom": "^16.8.6",
"react-i18next": "^10.11.2",
"react-router-dom": "^5.0.1",
"react-scripts": "3.0.1",
"react-select": "^3.0.4"
"react-scripts": "3.0.1"
},
"scripts": {
"start": "react-scripts start",