@appandflow/expo-image-cropping
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

@appandflow/expo-image-cropping

A package for cropping image with expo without any plugin

Installation

npm install @appandflow/expo-image-cropping

Usage

import {
  ExpoCroppingImageModal,
  ExpoCroppingImageModalRef,
} from '@appandflow/expo-image-cropping';

// ...

const modalRef = useRef<ExpoCroppingImageModalRef>(null);

// ...

<ExpoCroppingImageModal
  modalRef={modalRef}
  imageSrc={originalImage}
  onImageSave={(img) => {
    console.log('the image save is: ', img);
  }}
/>

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2.26latest

Version History

VersionDownloads (Last 7 Days)Published
0.2.26
0.2.11
0.2.01
0.1.01

Package Sidebar

Install

npm i @appandflow/expo-image-cropping

Weekly Downloads

5

Version

0.2.2

License

MIT

Unpacked Size

117 kB

Total Files

52

Last publish

Collaborators

  • equimper
  • janicduplessis
  • teamappandflow
  • valium