Skip to content

vaeum/react-octicons-svg

Repository files navigation

react-octicons-svg

Octicons React version

Source https://octicons.github.com/

NPM

NPM version Downloads Build Status

Install

npm i --save react-octicons-svg

Prefix

In version 1.0.10 add prefix Icon to icon name

Example:

settings - in source repo

SettingsIcon - in React Component

Usage

import { SettingsIcon } from 'react-octicons-svg';

<SettingsIcon /> // Create svg icon with classes octicons octicons-settings

Props

  • className

Deploy

$ git add . && git commit -m "my message"
$ git tag 0.1234
$ git push origin --tags
$ git push origin master