npm.io
4.0.10 • Published 7 years ago

the-icon

Licence
MIT
Version
4.0.10
Deps
4
Size
36 kB
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

the-icon

Build Status npm Version JS Standard

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.