mirror of
https://github.com/mattermost/focalboard.git
synced 2025-01-08 15:06:08 +02:00
* 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:
parent
134be30dbc
commit
23bd0de6ce
@ -7,6 +7,8 @@ import {Picker, BaseEmoji} from 'emoji-mart'
|
|||||||
|
|
||||||
import './emojiPicker.scss'
|
import './emojiPicker.scss'
|
||||||
|
|
||||||
|
import emojiSpirit from '../../static/emoji_spirit.png'
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
onSelect: (emoji: string) => void
|
onSelect: (emoji: string) => void
|
||||||
}
|
}
|
||||||
@ -18,6 +20,7 @@ const EmojiPicker: FC<Props> = (props: Props): JSX.Element => (
|
|||||||
>
|
>
|
||||||
<Picker
|
<Picker
|
||||||
onSelect={(emoji: BaseEmoji) => props.onSelect(emoji.native)}
|
onSelect={(emoji: BaseEmoji) => props.onSelect(emoji.native)}
|
||||||
|
backgroundImageFn={() => emojiSpirit}
|
||||||
/>
|
/>
|
||||||
</div>
|
</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 New Issue
Block a user