docs: add search bar to docs
This commit is contained in:
parent
6cf12b1117
commit
eea5bfba6a
|
@ -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 |
Loading…
Reference in New Issue