App & Flow is a Montreal-based, close-knit team that specializes in React Native/Expo development. Need a hand? Let’s build together! [email protected]
A package for cropping image with expo without any plugin. (Still WIP. Wait 1.0.0 for stable release)
npm install @appandflow/expo-image-cropping
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);
}}
/>
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library