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

Dependents (0)

Package Sidebar

Install

npm i react-svg-emojione

Weekly Downloads

1

Version

1.2.0

License

MIT

Last publish

Collaborators

  • wilhearts