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

apeman-react-photo

Build Status Code Climate Code Coverage npm Version JS Standard

apeman react package for photo components.

Installation

$ npm install apeman-react-photo --save

Demo

Live demo is hosted on GitHub Pages.

Demo Image

Usage

'use strict'

import React from 'react'
import {
  ApPhoto,
  ApPhotoStyle,
  ApPaperPhoto,
  ApPaperPhotoStyle
} from 'apeman-react-photo'

const ExampleComponent = React.createClass({
  render () {
    return (
      <div>
        <ApPhotoStyle />
        <ApPaperPhotoStyle />
        <ApPaperPhoto imgSrc="http://example.com"/>
      </div>
    )
  }
})

Components

ApPaperPhotoStyle

Props

Name Type Default Description
style object {}

ApPaperPhoto

Props

Name Type Default Description
imgSrc string null
imgWidth number 256
imgHeight number 192
imgScale string 'fill'
onTap func null

ApPhotoStyle

Props

Name Type Default Description
style object {}

ApPhoto

Props

Name Type Default Description
imgSrc string null
imgWidth number 256
imgHeight number 128
imgScale string 'fit'
onTap func null

License

This software is released under the MIT License.

Links

Current Tags

  • 3.0.2                                ...           latest (4 years ago)

16 Versions

  • 3.0.2                                ...           4 years ago
  • 3.0.1                                ...           4 years ago
  • 3.0.0                                ...           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.1.4                                ...           4 years ago
  • 1.1.3                                ...           4 years ago
  • 1.1.2                                ...           4 years ago
  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (5)
Dev Dependencies (26)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |