Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onEmojiSelect is selecting native emoji but set prop is assign to "apple" #925

Open
Akash210085 opened this issue Jul 6, 2024 · 0 comments

Comments

@Akash210085
Copy link

Akash210085 commented Jul 6, 2024

import emojiAppleData from "@emoji-mart/data/sets/15/apple.json";
import Picker from "@emoji-mart/react";
const [text, setText] = useState("");
const handleEmojiSelect = (e) => {
console.log(e);
setText((prevText) => prevText + e.native);
};

choosing first row emojis

Screenshot 2024-07-06 at 19-10-08 React App

@Akash210085 Akash210085 changed the title onSelectEmoji is selecting native emoji but set prop is assign to "apple" onEmojiSelect is selecting native emoji but set prop is assign to "apple" Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant