the-tag

Tag of the-components


Keywords
react-component, the, theme
License
MIT
Install
npm install the-tag@2.0.5

Documentation

the-tag

Build Status npm Version JS Standard

Tag of the-components

Installation

$ npm install the-tag --save

Usage

Live Demo is hosted on GitHub Page

'use strict'

import React from 'react'
import { TheLinkStyle } from 'the-link'
import { TheRouter } from 'the-router'
import { TheTag, TheTagStyle } from 'the-tag'

class ExampleComponent extends React.PureComponent {
  render () {
    return (
      <TheRouter.Hash>
        <TheTagStyle/>
        <TheLinkStyle/>
        <TheTag text='hoge'/>
        <TheTag text='fuge'/>
        <TheTag text='bar' to='http://example.com'/>
      </TheRouter.Hash>

    )
  }
}

export default ExampleComponent

Components

TheTag

Tag of the-components

Props

Name Type Description Default
text string Tag text ``
to string ``

TheTagStyle

Style for TheTag

Props

Name Type Description Default
options object Style options {}

License

This software is released under the MIT License.

Links