apeman-react-container

3.0.1 • Public • Published

apeman-react-container

Build Status Code Climate Code Coverage npm Version JS Standard

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.

Links

Dependencies (3)

Dev Dependencies (25)

Package Sidebar

Install

npm i apeman-react-container

Weekly Downloads

28

Version

3.0.1

License

MIT

Last publish

Collaborators

  • okunishinishi