pladaria / react-emojione

A tiny library to use emojis in React
186 stars 32 forks source link

Blank emojis #8

Closed PolGuixe closed 7 years ago

PolGuixe commented 7 years ago

My emojis doesn't seem to load.

Is this a wrapper of https://www.npmjs.com/package/emojione?

sithembiso commented 7 years ago

@PolGuixe any luck getting this working? I'm stuck as well.

PolGuixe commented 7 years ago

@sithembiso try using the outline option and restart your app. ;)

sithembiso commented 7 years ago

@PolGuixe I've been looking, but I can't find the outline option? Do you have a snippet for me of perhaps an exact place to look.

PolGuixe commented 7 years ago

@sithembiso I am very sorry, I wanted to mean output option. See below.

emojify(':see_no_evil:', {output: 'unicode'})

pladaria commented 7 years ago

Can you please post a fragment of your code?

btw, this is not a wrapper.

PolGuixe commented 7 years ago

This way it works:

      <p>
       {emojify(':wrench:',{output:'unicode'})}with{emojify(':heart_eyes:',{output:'unicode'})} in the {emojify(':earth_africa:',{output:'unicode'})}
     </p>

without {output:'unicode'} it doesn't.