2.0.0 • Published 6 years ago
etch-octicon v2.0.0
etch-octicon
An Etch component which renders a GitHub Octicons icon.
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
Prop | Description |
---|---|
name | The name of an icon in the Octicons set, e.g. 'trashcan' |
Other props
Prop | Description |
---|---|
className | An additional class name for the element rendered by the component |
mega | If true , a double-size icon will be displayed |
spin | If 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