Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jxnblk/react-geomicons
React icon component for Geomicons Open
https://github.com/jxnblk/react-geomicons
Last synced: 4 months ago
JSON representation
React icon component for Geomicons Open
- Host: GitHub
- URL: https://github.com/jxnblk/react-geomicons
- Owner: jxnblk
- License: mit
- Archived: true
- Created: 2015-02-18T01:33:18.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-08-07T14:55:22.000Z (over 5 years ago)
- Last Synced: 2024-08-14T01:16:47.292Z (4 months ago)
- Language: JavaScript
- Homepage: https://jxnblk.github.io/react-geomicons
- Size: 473 KB
- Stars: 88
- Watchers: 8
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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)