README
apeman-react-container
apeman react package for container component.
Installation
$ npm install apeman-react-container --save
Demo
Live demo is hosted on GitHub Pages.
Usage
'use strict'
import React from 'react'
import {ApContainer, ApContainerStyle} from 'apeman-react-container'
const ExampleComponent = React.createClass({
render () {
return (
<div>
<ApContainerStyle />
<ApContainer>
This is the content of the container.
</ApContainer>
</div>
)
}
})
Components
ApContainerStyle
Props
Name | Type | Default | Description |
---|---|---|---|
style | object | {} | |
width | number | ApStyle.CONTAINER_WIDTH |
ApContainer
Props
Name | Type | Default | Description |
---|---|---|---|
relative | bool | false | |
centered | bool |
License
This software is released under the MIT License.