JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 466
  • Score
    100M100P100Q91163F
  • License ISC

Package Exports

  • react-geomicons

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-geomicons) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-geomicons

React component for Geomicons Open

Getting Started

npm install --save react-geomicons
var React = require('react');
var Geomicon = require('react-geomicons');

module.exports = React.createClass({
  render: function() {
    <MyComponent>
      <Geomicon icon="bookmark" />
    </MyComponent>
  }
});

Props

React-geomicons passes all props to the SVG element, in addition to the following:

  • icon - camel cased icon name
  • width - default 1em
  • height - default 1em
  • fill - default currentColor

See Geomicons Open for the list of available icons.

MIT License