apeman-react-container
apeman react package for container component.
Last updated a year ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install apeman-react-container 
SYNC missed versions from official npm registry.

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

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (25)

Copyright 2014 - 2016 © taobao.org |