docs: add search bar to docs

This commit is contained in:
Jakub Grzywacz 2021-07-29 12:02:11 +02:00
parent 6cf12b1117
commit eea5bfba6a
No known key found for this signature in database
GPG Key ID: 5BBB685871FF63C4
2 changed files with 4 additions and 1 deletions

View File

@ -61,6 +61,8 @@ export default function App() {
| translation | CategoryTranslation | en | no | Translation object *see translation section* |
| disabledCategory | CategoryTypes[] | [] | no | Hide categories by passing their slugs |
| categoryPosition | CategoryPosition | categoryPosition | no | Specify category container position |
| enableSearchBar | boolean | false | no | Enable search bar |
| closeSearchColor | string | "#00000055" | no | Change button (cross) color for close/cancel search |
## 📊 Comparison
@ -123,9 +125,10 @@ You can clone the repo and run `yarn example ios` or `yarn example android` to p
![Preview](/example/assets/categories-top-preview.jpg)
### [Categories Bottom](/example/src/BottomCategory/BottomCategory.tsx)
![Preview](/example/assets/categories-bottom-preview.jpg)
### [Search Bar](/example/src/SearchBar/SearchBar.tsx)
![Preview](/example/assets/search-bar-preview.gif)
## 📈 Future plans
* Skin tone palette selector.
* Search bar.
* Write native module to display forbidden emojis on android.
## ⚖️ License
**[MIT](/LICENSE)**

Binary file not shown.

After

Width:  |  Height:  |  Size: 662 KiB