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

apeman-react-list

Build Status Code Climate Code Coverage npm Version JS Standard

apeman react package for list component.

Installation

$ npm install apeman-react-list --save

Demo

Live demo is hosted on GitHub Pages.

Demo Image

Usage

'use strict'

import React from 'react'
import {
  ApList,
  ApListItem,
  ApListItemText,
  ApListItemArrowIcon,
  ApListStyle
} from 'apeman-react-list'

const ExampleComponent = React.createClass({
  render () {
    const s = this
    return (
      <div>
        <ApListStyle />
        <ApList>
          <ApListItem onTap={ (e) => { s.handleTap(e, 1) } }>
            <ApListItemText>Item 01</ApListItemText>
            <ApListItemArrowIcon />
          </ApListItem>
          <ApListItem onTap={ (e) => { s.handleTap(e, 2) } }>
            <ApListItemText>Item 02</ApListItemText>
            <ApListItemArrowIcon />
          </ApListItem>
        </ApList>
      </div>
    )
  },
  handleTap () {

  }
})

Components

ApListBarMessage

Props

Name Type Default Description

ApListBar

Props

Name Type Default Description

ApListBody

Props

Name Type Default Description

ApListFooter

Props

Name Type Default Description
spinning bool false
spinner string ApSpinner.DEFAULT_THEME

ApListHeader

Props

Name Type Default Description

ApListItemArrowIcon

Props

Name Type Default Description
direction enum 'right'

ApListItemIcon

Props

Name Type Default Description

ApListItemImage

Props

Name Type Default Description
src string null
alt string null
scale enum 'fill'
width number string null
height number string null

ApListItemText

Props

Name Type Default Description

ApListItem

Props

Name Type Default Description

ApListMoreButton

Props

Name Type Default Description
text string 'Load More'
enabled bool false

ApListStyle

Props

Name Type Default Description

ApList

Props

Name Type Default Description
spinning bool false
spinner string ApSpinner.DEFAULT_THEME
minHeight number null
empty bool false
alt string 'Not data found'

License

This software is released under the MIT License.

Links

Current Tags

  • 3.0.2                                ...           latest (3 years ago)

41 Versions

  • 3.0.2                                ...           3 years ago
  • 3.0.1                                ...           3 years ago
  • 2.0.17                                ...           3 years ago
  • 2.0.16                                ...           3 years ago
  • 2.0.15                                ...           4 years ago
  • 2.0.14                                ...           4 years ago
  • 2.0.13                                ...           4 years ago
  • 2.0.12                                ...           4 years ago
  • 2.0.10                                ...           4 years ago
  • 2.0.9                                ...           4 years ago
  • 2.0.8                                ...           4 years ago
  • 2.0.7                                ...           4 years ago
  • 2.0.5                                ...           4 years ago
  • 2.0.4                                ...           4 years ago
  • 2.0.3                                ...           4 years ago
  • 2.0.2                                ...           4 years ago
  • 2.0.1                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.5.7                                ...           4 years ago
  • 1.5.6                                ...           4 years ago
  • 1.5.5                                ...           4 years ago
  • 1.5.4                                ...           4 years ago
  • 1.5.3                                ...           4 years ago
  • 1.5.2                                ...           4 years ago
  • 1.5.1                                ...           4 years ago
  • 1.5.0                                ...           4 years ago
  • 1.4.0                                ...           4 years ago
  • 1.3.5                                ...           4 years ago
  • 1.3.4                                ...           4 years ago
  • 1.3.3                                ...           4 years ago
  • 1.3.2                                ...           4 years ago
  • 1.3.1                                ...           4 years ago
  • 1.3.0                                ...           4 years ago
  • 1.2.5                                ...           4 years ago
  • 1.2.4                                ...           4 years ago
  • 1.2.3                                ...           4 years ago
  • 1.2.2                                ...           4 years ago
  • 1.2.1                                ...           4 years ago
  • 1.2.0                                ...           4 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 82
Dependencies (8)
Dev Dependencies (27)

Copyright 2014 - 2016 © taobao.org |