the-main
Main for the-components
Installation
$ npm install the-main --save
Usage
'use strict'
import React from 'react'
import TheMain from 'the-main'
const TheMainStyles = TheMain.styles({})
class ExampleComponent extends React.PureComponent {
render () {
return (
<TheMain id='my-component'
styles={ TheMainStyles }
/>
)
}
}
export default ExampleComponent
Components
TheMain
Main for the-components
Props
Name | Type | Description | Default |
---|---|---|---|
spinning |
bool | Show spinner | false |
role |
'main' |
TheMainStyle
Style for TheMain
Props
Name | Type | Description | Default |
---|---|---|---|
options |
object | Style options | {} |
License
This software is released under the MIT License.