React Emoji Picker
npm install rc-emoji-picker
import EmojiPicker from 'rc-emoji-picker'
import 'rc-emoji-picker/style.css'
function App() {
const [emoji, setEmoji] = useState('')
return (
<EmojiPicker
onChange={(v: any) => {
setEmoji(v)
}}
>
<button type="button">
Select Emoji
<span>{emoji}</span>
</button>
</EmojiPicker>
)
}
Clone the project
git clone https://github.com/hunghg255/rc-emoji-picker.git
Go to the project directory
cd rc-emoji-picker
Install dependencies
pnpm install
Start the Demo server
npm run build:lib:dev
npm run playground
Thanks to the following friends for their contributions to project: