2.0.0 • Published 6 years ago

etch-octicon v2.0.0

Weekly downloads
311
License
MIT
Repository
github
Last release
6 years ago

etch-octicon

npm package

An Etch component which renders a GitHub Octicons icon.

All Octicons

Usage

Install and use the Octicon component like so:

npm install --save etch-octicon
import Octicon from 'etch-octicon'

let App = () => <div>
  <Octicon mega spin name="sync"/>
</div>

render(<App/>, document.querySelector('#app'))

Required props

PropDescription
nameThe name of an icon in the Octicons set, e.g. 'trashcan'

Other props

PropDescription
classNameAn additional class name for the element rendered by the component
megaIf true, a double-size icon will be displayed
spinIf true, the icon will spin

MIT licensed

2.0.0

6 years ago

2.0.0-alpha1

6 years ago

1.0.0

7 years ago

1.0.0-alpha.4

7 years ago

1.0.0-alpha.3

7 years ago

1.0.0-alpha.2

7 years ago

1.0.0-alpha.1

7 years ago

0.1.0

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago