README
the-icon
Icon of the-components
Installation
$ npm install the-icon --save
Usage
'use strict'
import React from 'react'
import { TheIcon, TheIconStyle } from 'the-icon'
class ExampleComponent extends React.Component {
render () {
return (
<div>
<TheIcon.CdnLink/>
<hr/>
{
'ABCDEF'.split('').map((theme) => (
<TheIcon.Spin key={theme} theme={theme}/>
))
}
</div>
)
}
}
export default ExampleComponent
Components
TheIcon
Icon of the-components
Props
Name | Type | Description | Default |
---|---|---|---|
type |
null |
TheIconStyle
Style for TheIcon
Props
Name | Type | Description | Default |
---|---|---|---|
options |
object | Style options | {} |
License
This software is released under the MIT License.