3.0.3 • Published 8 years ago

apeman-react-showcase v3.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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

NameTypeDefaultDescription
typestring'text/css'
styleobject{}
backgroundColorstring'#DDD'
widthnumber816
heightnumber480

ApDesktopShowcase

Props

NameTypeDefaultDescription

ApMobileShowcaseStyle

Props

NameTypeDefaultDescription
typestring'text/css'
styleobject{}

ApMobileShowcase

Props

NameTypeDefaultDescription

ApShowcaseStyle

Props

NameTypeDefaultDescription
typestring'text/css'
styleobject{}
widthnumber320
heightnumber524

ApShowcase

Props

NameTypeDefaultDescription
srcstring

License

This software is released under the MIT License.

Links

3.0.3

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.0.0

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.0

8 years ago