1.0.9 • Published 2 years ago

react-native-add-image v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

react-native-add-image

Pops up a dialog with the upload option or take photo, and cancel as well. Under the hood we are using the react-native-image-picker package and its two main functions: launchCamera and launchImageLibrary.

Install

Install with npm:

npm install react-native-add-image

Usage

import useAddImage from "react-native-add-image"

const {handleShowImagePicker} = useAddImage();

handleShowImagePicker((response) => {
    // DO THINGS
})

See the code base here

See Code page.

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

License

MIT©

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago