1.0.3 • Published 6 years ago

react-pic-preview v1.0.3

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

react-pic-preview

  • Base on react. for photo preview

Installation

npm install --save react-pic-preview

Usage

Example with defaults Creating an example component

import React from 'react'
import PicPreview from 'react-pic-preview'
export default class Home extends React.Component {
    render() {
        return (
            <div>
                <PicPreview photos={photos} customClass="feed-preview"/>
            </div>
        )
    }
}

Properties

photos

Type Array your photos list

customClass

Type String your custom className

License

ISC

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago