Get unlimited public & private packages + team-based management with npm Teams.Learn more »

react-svg-emojione

1.2.0 • Public • Published

React Emojione

All the Emoticons available in the Emojione set generated as react stateless components.

They are named after their shortcodes for convenience

Usage

import * as Emojione from 'react-emojione';

export default function MyComponent() {
  return (
    <div>
      <Emojione.slight_frown />
    </div>
  );
}

Updating and rebuilding

Running npm run build will rebuild all the components in the dist/ folder

TODO

  • Support alternate emojis (through props)
  • Support alternate shortcodes
  • Figure out why "gay_pride_flag" does not have a corresponding svg file

Install

npm i react-svg-emojione

DownloadsWeekly Downloads

4

Version

1.2.0

License

MIT

Last publish

Collaborators

  • avatar