UNPKG

rentypo

Version:

React's components for Entypo+ icons

40 lines (33 loc) 625 B
# React Entypo+ > React components for Entypo+ Icons ###### All SVGs are optimized by **[SVGO](https://github.com/svg/svgo)** ## Installation ```bash npm install --save rentypo ``` ## Usage Import **Icon** ```js import React, { Component } from 'react' import { Address } from 'rentypo' export default class Test extends Component { render () { return ( <div> <Address className="small-icon white-icon" /> Park street 420 </div> ) } } ``` Add your CSS ```css .small-icon { height: 50px; width: 50px; } .white-icon { fill: #fff; } ```