This is a React Component Library for rendering emoji components.
To use react-emojify you need to install it as follows:
- using
npm
npm i @crispengari/react-emojify- using
yarn
yarn add @crispengari/react-emojifyThis Component can be used as follows:
import { Emoji } from '@crispengari/react-emojify';
export const MyEmoji = () => <Emoji emojiId="react@emojify-200" />;These are the additional the props that can be passed to the component:
| Name | Description | Required |
|---|---|---|
| emojiId | string | true |
| label | string | false |
Note that the other props for the Emoji are the props for a regular html span tag.
Emoji id's are found on the React Emojify Library.
