Socket
Book a DemoInstallSign in
Socket

@appandflow/expo-image-cropping

Package Overview
Dependencies
Maintainers
5
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appandflow/expo-image-cropping

A library for cropping image in Expo without any external native plugin

latest
Source
npmnpm
Version
0.2.2
Version published
Weekly downloads
3
-25%
Maintainers
5
Weekly downloads
 
Created
Source

@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

Keywords

react-native

FAQs

Package last updated on 07 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts