1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-21 13:38:56 +02:00

Added emoji spirit file in codebase (#4592) (#4756)

* Useing native emoji instead of relying on a spirit

* Added emoji spirit in code

* Added emoji spirit in code

(cherry picked from commit 230e519352)

Co-authored-by: Harshil Sharma <18575143+harshilsharma63@users.noreply.github.com>
This commit is contained in:
Scott Bishel 2023-05-31 11:21:58 -06:00 committed by GitHub
parent 134be30dbc
commit 23bd0de6ce
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