4.0.10 • Published 6 years ago

the-icon v4.0.10

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

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

NameTypeDescriptionDefault
typenull

TheIconStyle

Style for TheIcon

Props

NameTypeDescriptionDefault
optionsobjectStyle options{}

License

This software is released under the MIT License.

Links