This package has been deprecated

Author message:

move to @the-/ui-root ( https://github.com/the-labo/the/tree/master/packages/ui-root#readme )

the-root

2.0.12 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i the-root

Weekly Downloads

0

Version

2.0.12

License

MIT

Unpacked Size

30.6 kB

Total Files

27

Last publish

Collaborators

  • okunishinishi