1.3.0 • Published 7 years ago

react-moodycons v1.3.0

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

React Moodycons

React SVG component for emoji mood icons

See them in action

Getting Started

npm i react-moodycons -D
import React from 'react';
import Icon from 'react-moodycons';

module.exports = React.createClass({
  render: function() {
    return (
      <Icon name='grinning' />
    );
  }
});

Available props

  • name - single word icon name (required)
  • fill - string, inherits from parent by default
  • width - number, defaults to 50
  • height - number, defaults to 50

Accessibility

This module is fully accessible! Output looks like this:

<svg role="img" aria-labelledby="grinning" "...">
  <title id="grinning">grinning icon</title>
  <path d="..."></path>
</svg>

<3

MIT License

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago