the-icondeprecated

Icon of the-components

Usage no npm install needed!

<script type="module">
  import theIcon from 'https://cdn.skypack.dev/the-icon';
</script>

README

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.

Links