4.0.3 • Published 9 years ago

apeman-react-catalog v4.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

apeman-react-catalog

Build Status Code Climate Code Coverage npm Version JS Standard

apeman react package for catalog components

Installation

$ npm install apeman-react-catalog --save

Demo

Live demo is hosted on GitHub Pages.

Usage

'use strict'

import React from 'react'
import {ApCatalog, ApCatalogItem, ApCatalogItemSummary, ApCatalogItemDetail, ApCatalogStyle} from 'apeman-react-catalog'

const ExampleComponent = React.createClass({
  render () {
    return (
      <div>
        <ApCatalogStyle/>
        <ApCatalog>
          <ApCatalogItem>
            <ApCatalogItemSummary>
              <h1>Summary of item 01</h1>
            </ApCatalogItemSummary>
            <ApCatalogItemDetail>
              <p>This is the detail of item 01</p>
            </ApCatalogItemDetail>
          </ApCatalogItem>
          <ApCatalogItem>
            <ApCatalogItemSummary>
              <h1>Summary of item 02</h1>
            </ApCatalogItemSummary>
            <ApCatalogItemDetail>
              <p>This is the detail of item 02</p>
            </ApCatalogItemDetail>
          </ApCatalogItem>
        </ApCatalog>
      </div>
    )
  }
})

Components

ApCatalogItemDetail

Props

NameTypeDefaultDescription
openboolfalse
atenumnull

ApCatalogItemSummary

Props

NameTypeDefaultDescription

ApCatalogItem

Props

NameTypeDefaultDescription

ApCatalogStyle

Props

NameTypeDefaultDescription
styleobject{}
highlightColorstringApStyle.DEFAULT_HIGHLIGHT_COLOR
backgroundColorApStyle.DEFAULT_BACKGROUND_COLOR
transitionDuration500

ApCatalog

Props

NameTypeDefaultDescription

License

This software is released under the MIT License.

Links

4.0.3

9 years ago

4.0.2

9 years ago

4.0.1

9 years ago

4.0.0

9 years ago

3.2.5

9 years ago

3.2.4

9 years ago

3.2.3

9 years ago

3.2.2

9 years ago

3.2.1

9 years ago

3.2.0

9 years ago

3.1.0

9 years ago

3.0.2

10 years ago

3.0.1

10 years ago

3.0.0

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago