@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

Package Sidebar

Install

npm i @appandflow/expo-image-cropping

Weekly Downloads

1

Version

0.2.2

License

MIT

Unpacked Size

117 kB

Total Files

52

Last publish

Collaborators

  • appandflow-user
  • equimper
  • janicduplessis
  • teamappandflow
  • valium