1.4.1 • Published 3 months ago
ms-3d-emoji-picker v1.4.1
📕Installation
- Install package
npm install ms-3d-emoji-picker
- Add imports for Picker and EmojiType, and use the Picker component.
import { Picker, EmojiType } from 'ms-3d-emoji-picker';
export const EmojiPicker = () => {
return (
<Picker
isOpen={true}
handleEmojiSelect={(selectedEmoji: EmojiType) => console.log(selectedEmoji)}
/>
);
};
With this, you can use the emoji picker right away!
📗Example
import { Picker, EmojiType } from 'ms-3d-emoji-picker';
function App() {
return (
<main>
<Picker
isOpen={true}
handleEmojiSelect={(selectedEmoji: EmojiType) => console.log(selectedEmoji)}
/>
</main>
);
}
export default App;
selectedEmoji's data example
{
url: "https://cdn.emoji.yajihum.dev/smileys/1.png",
category: "smileys",
name: "1",
extension: "png"
}
Options/Props
Option | Default | Description |
---|---|---|
isOpen | false | Whether a picker should open |
handleEmojiSelect | {} | Callback when an emoji is selected |
📙Attention
- Strictly speaking, it's not an 'emoji picker' per se, but rather a picker for obtaining emoji icons.
Therefore, it cannot be used as Unicode characters, like text. - Do not use not on Node.js.
📘Lisence
This is a emoji picker of Microsoft Fluent Emoji.
Third party License
This project makes use of the following open-source software.
Fluent Emoji
1.4.1
3 months ago
1.4.0
3 months ago
1.3.1
5 months ago
1.3.0
5 months ago
1.2.0
6 months ago
1.0.2
8 months ago
1.0.1
8 months ago
1.0.0
8 months ago
0.1.0-beta.0
8 months ago
0.0.9
8 months ago
0.0.8
8 months ago
0.0.7
8 months ago
0.0.6
8 months ago
0.0.5
8 months ago
0.0.4
8 months ago
0.0.3
8 months ago
0.0.2
8 months ago
0.0.1
8 months ago