commit
2da7ec0ffa
|
@ -26,7 +26,7 @@ import { Picker } from 'emoji-mart'
|
||||||
| ---- | :------: | ------- | ----------- |
|
| ---- | :------: | ------- | ----------- |
|
||||||
| **autoFocus** | | `false` | Auto focus the search input when mounted |
|
| **autoFocus** | | `false` | Auto focus the search input when mounted |
|
||||||
| **color** | | `#ae65c5` | The top bar anchors select and hover color |
|
| **color** | | `#ae65c5` | The top bar anchors select and hover color |
|
||||||
| **emoji** | | `department_store` | The emoji shown when no emojis are hovered |
|
| **emoji** | | `department_store` | The emoji shown when no emojis are hovered, set to an empty string to show nothing |
|
||||||
| **include** | | `[]` | Only load included categories. Accepts [I18n categories keys](#i18n). Order will be respected, except for the `recent` category which will always be the first. |
|
| **include** | | `[]` | Only load included categories. Accepts [I18n categories keys](#i18n). Order will be respected, except for the `recent` category which will always be the first. |
|
||||||
| **exclude** | | `[]` | Don't load excluded categories. Accepts [I18n categories keys](#i18n). |
|
| **exclude** | | `[]` | Don't load excluded categories. Accepts [I18n categories keys](#i18n). |
|
||||||
| **emojiSize** | | `24` | The emoji width and height |
|
| **emojiSize** | | `24` | The emoji width and height |
|
||||||
|
|
|
@ -53,10 +53,10 @@ export default class Preview extends React.Component {
|
||||||
} else {
|
} else {
|
||||||
return <div className='emoji-mart-preview'>
|
return <div className='emoji-mart-preview'>
|
||||||
<div className='emoji-mart-preview-emoji'>
|
<div className='emoji-mart-preview-emoji'>
|
||||||
<Emoji
|
{idleEmoji.length > 0 && <Emoji
|
||||||
emoji={idleEmoji}
|
emoji={idleEmoji}
|
||||||
{...emojiProps}
|
{...emojiProps}
|
||||||
/>
|
/>}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className='emoji-mart-preview-data'>
|
<div className='emoji-mart-preview-data'>
|
||||||
|
|
Loading…
Reference in New Issue