Added emoji spirit file in codebase (#4592)
* Useing native emoji instead of relying on a spirit * Added emoji spirit in code * Added emoji spirit in code
This commit is contained in:
parent
6576d75192
commit
230e519352
2 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,8 @@ import {Picker, BaseEmoji} from 'emoji-mart'
|
|||
|
||||
import './emojiPicker.scss'
|
||||
|
||||
import emojiSpirit from '../../static/emoji_spirit.png'
|
||||
|
||||
type Props = {
|
||||
onSelect: (emoji: string) => void
|
||||
}
|
||||
|
@ -18,6 +20,7 @@ const EmojiPicker: FC<Props> = (props: Props): JSX.Element => (
|
|||
>
|
||||
<Picker
|
||||
onSelect={(emoji: BaseEmoji) => props.onSelect(emoji.native)}
|
||||
backgroundImageFn={() => emojiSpirit}
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
|
|
BIN
webapp/static/emoji_spirit.png
Normal file
BIN
webapp/static/emoji_spirit.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.6 MiB |
Loading…
Reference in a new issue