0.0.2 • Published 8 years ago

rentypo v0.0.2

Weekly downloads
7
License
MIT
Repository
github
Last release
8 years ago

React Entypo+

React components for Entypo+ Icons

All SVGs are optimized by SVGO

Installation

npm install --save rentypo

Usage

Import Icon

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

.small-icon {
  height: 50px;
  width: 50px;
}

.white-icon {
  fill: #fff;
}