Root element of the-components


Keywords
react-component, the, component
License
MIT
Install
npm install the-root@2.0.12

Documentation

the-root

Build Status npm Version JS Standard

Root element of the-components

Installation

$ npm install the-root --save

Usage

'use strict'

import React from 'react'
import { TheRoot, TheRootStyle } from 'the-root'

class ExampleComponent extends React.PureComponent {
  render () {
    return (
      <div>
        <TheRootStyle/>
        <TheRoot id='my-component'
        >
        </TheRoot>
      </div>
    )
  }
}

export default ExampleComponent

Components

TheRoot

Root element of the-components

Props

Name Type Description Default
role 'application'

TheRootStyle

Style for TheRoot

Props

Name Type Description Default
options object Style options {}

License

This software is released under the MIT License.

Links