docs: add comparison table (#7)

This commit is contained in:
Jakub Grzywacz 2021-07-27 11:37:30 +02:00 committed by GitHub
parent 8a33d466e1
commit f3e95cd820
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View File

@ -38,7 +38,6 @@ export default function App() {
) )
} }
``` ```
## ⚙️ Accepted props (current implemented) ## ⚙️ Accepted props (current implemented)
| Name | Type | Default Value | Required | Description | | Name | Type | Default Value | Required | Description |
|---|---|---|---|---| |---|---|---|---|---|
@ -61,8 +60,12 @@ export default function App() {
| onCategoryChangeFailed | function | warn(info) | no | Callback on category change failed (info: {index, highestMeasuredFrameIndex, averageItemLength}) | | onCategoryChangeFailed | function | warn(info) | no | Callback on category change failed (info: {index, highestMeasuredFrameIndex, averageItemLength}) |
| translation | CategoryTranslation | en | no | Translation object *see translation section* | | translation | CategoryTranslation | en | no | Translation object *see translation section* |
| disabledCategory | CategoryTypes[] | [] | no | Hide categories by passing their slugs | | disabledCategory | CategoryTypes[] | [] | no | Hide categories by passing their slugs |
## 🖼 Usage as static
## 📊 Comparison
![comparison table](/example/assets/table-comparison-small.png)
## 🖼 Usage as static
```js ```js
import { EmojiKeyboard } from 'rn-emoji-keyboard'; import { EmojiKeyboard } from 'rn-emoji-keyboard';

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 550 KiB