rentypo

0.0.2 • Public • Published

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;
}

Package Sidebar

Install

npm i rentypo

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • kocisov