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:
Harshil Sharma 2023-02-22 09:17:17 +05:30 committed by GitHub
parent 6576d75192
commit 230e519352
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -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>
)

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB