Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jxnblk/react-geomicons

React icon component for Geomicons Open
https://github.com/jxnblk/react-geomicons

Last synced: 19 days ago
JSON representation

React icon component for Geomicons Open

Awesome Lists containing this project

README

        

# react-geomicons

[![Build Status](https://travis-ci.org/jxnblk/react-geomicons.svg?branch=master)](https://travis-ci.org/jxnblk/react-geomicons)

React icon component for Geomicons Open

[View Demo](https://jxnblk.github.io/react-geomicons)

## Getting Started

```bash
npm install --save react-geomicons
```

```js
var React = require('react');
var Icon = require('react-geomicons');

module.exports = React.createClass({
render: function() {



}
});
```

### 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. default `1em` (inherits size from parent element)
- `fill` - default `currentColor` (inherits color from parent element)

See [Geomicons Open](https://github.com/jxnblk/geomicons-open) for the list of available icons.

[MIT License](LICENSE.md)