2.0.12 • Published 5 years ago

the-root v2.0.12

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

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

NameTypeDescriptionDefault
role'application'

TheRootStyle

Style for TheRoot

Props

NameTypeDescriptionDefault
optionsobjectStyle options{}

License

This software is released under the MIT License.

Links

2.0.12

5 years ago

2.0.11

6 years ago

2.0.10

6 years ago

2.0.9

6 years ago

2.0.8

6 years ago

2.0.7

6 years ago

2.0.6

6 years ago

2.0.5

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago