pladaria / react-emojione

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

Emoji Size #10

Closed Orbyt closed 7 years ago

Orbyt commented 7 years ago

Currently, I can render emoji's from the message text using the following code:

<p>{emojify(message.text, {output: 'unicode'})}</p>

Here, I simply pass the entire message into the emojify() function, and it renders emojis where found. What I would like to do is increase the size of the emojis in the message, without increasing the font size of the rest of the message.

How can this be done?

pladaria commented 7 years ago

Have a look at the README.md. In the "advanced" section is an example. Reopen the ticket if you find any issue.