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

Smiley isn't at good place #115

Closed
AlexandreBourdeaudhui opened this issue Sep 21, 2017 · 0 comments
Closed

Smiley isn't at good place #115

AlexandreBourdeaudhui opened this issue Sep 21, 2017 · 0 comments

Comments

@AlexandreBourdeaudhui
Copy link

AlexandreBourdeaudhui commented Sep 21, 2017

Hello,

In your API Reference, for the props backgroundImageFn, you pass this url :
https://unpkg.com/emoji-datasource@2.4.4/sheet_${set}_${sheetSize}.png

But, i got this with string test :sunglasses: :fearful:
pasted image at 2017_09_21 06_03 pm

So, i disabled backgroundImageFn's option in my code and i was going to see network in my Google Chrome... It wasn't the same URL. Emoji-datasource is now in V3... 🤔

For solve this, i'm actually going with this url :

backgroundImageFn={((set, sheetSize) =>
  `https://unpkg.com/emoji-datasource-${set}@3.0.0/img/${set}/sheets/${sheetSize}.png`)}

Maybe you need to update your README file ? 🤔
Bye 👋

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