-
Notifications
You must be signed in to change notification settings - Fork 231
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
Import emoji from 'emoji-js' #94
Comments
did you create an instance of the emoji object first?
|
Yes, but with Typescript, it says immediately : Emoji Converter undefined |
I have same situation. Tried to import 'emoji-js' and checked out emoji.js file successfully compiled to my bundle.js (using Webpack ) but EmojiConverter still not defined. Of course, I created instance of emoji object. |
I used this (although I'm using React) and it worked for me: |
i had to use |
@ChrisOwen101 |
@vishnukalakota If you are using react native, this pull request will fix your problems: #106 |
Hello,
I tried to import in a Angular 2 / Typescript project.
There is no error.
But when I do a
emoji.init_env()
for example I got this error :Can you help me please ? Thank you
The text was updated successfully, but these errors were encountered: