jxnblk / React Geomicons
Licence: mit
React icon component for Geomicons Open
Stars: ✭ 87
Programming Languages
javascript
184084 projects - #8 most used programming language
react-geomicons
React icon component for Geomicons Open
Getting Started
npm install --save react-geomicons
var React = require('react');
var Icon = require('react-geomicons');
module.exports = React.createClass({
render: function() {
<MyComponent>
<Icon name="bookmark" />
</MyComponent>
}
});
Props
React-geomicons passes all props to the SVG element, in addition to the following:
-
name
- camel cased icon name -
size
- sets width and height attributes. default1em
(inherits size from parent element) -
fill
- defaultcurrentColor
(inherits color from parent element)
See Geomicons Open for the list of available icons.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].