apeman-react-showcase
apeman react package for showcase components.
Last updated 4 years ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install apeman-react-showcase 
SYNC missed versions from official npm registry.

apeman-react-showcase

Build Status Code Climate Code Coverage npm Version JS Standard

apeman react package for showcase components.

Installation

$ npm install apeman-react-showcase --save

Demo

Live demo is hosted on GitHub Pages.

Demo Image

Usage

'use strict'

import React from 'react'
import {
  ApMobileShowcaseStyle,
  ApDesktopShowcaseStyle,
  ApMobileShowcase,
  ApDesktopShowcase
} from 'apeman-react-showcase'

const ExampleComponent = React.createClass({
  render () {
    return (
      <div>
        <ApMobileShowcaseStyle />
        <ApDesktopShowcaseStyle />
        <ApMobileShowcase src="../mocks/mock-html.html"/>
        <ApDesktopShowcase src="../mocks/mock-html.html"/>
      </div>
    )
  }
})

Components

ApDesktopShowcaseStyle

Props

Name Type Default Description
type string 'text/css'
style object {}
backgroundColor string '#DDD'
width number 816
height number 480

ApDesktopShowcase

Props

Name Type Default Description

ApMobileShowcaseStyle

Props

Name Type Default Description
type string 'text/css'
style object {}

ApMobileShowcase

Props

Name Type Default Description

ApShowcaseStyle

Props

Name Type Default Description
type string 'text/css'
style object {}
width number 320
height number 524

ApShowcase

Props

Name Type Default Description
src string

License

This software is released under the MIT License.

Links

Current Tags

  • 3.0.3                                ...           latest (4 years ago)

8 Versions

  • 3.0.3                                ...           4 years ago
  • 3.0.2                                ...           4 years ago
  • 3.0.1                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (26)

Copyright 2014 - 2017 © taobao.org |