react-easy-camera

1.0.2 • Public • Published

react-easy-camera

📸 simple react camera component

Install

npm i react-easy-camera

Usage

<Camera
  ref={(camera) => { this.camera = camera }}
  onTakePictureGetUrl={this.onTakePictureGetUrl}
  onProgress={this.onProgress}
  onReadyStateChange={this.onReadyStateChange}
/>

Props

Name Type Description
onTakePictureGetUrl function
onProgress function
onReadyStateChange function
onLoad function

Methods

Name Type Description
open function
fileUpload function

Example

Follow Example

/react-easy-camera/

    Package Sidebar

    Install

    npm i react-easy-camera

    Weekly Downloads

    5

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    5.66 kB

    Total Files

    4

    Last publish

    Collaborators

    • g3org3