Skip to main content

Image Crop

The Image Crop screen facilitates the cropping facility to crop images. And the screen doesn't require any parameters, allowing for direct utilization.

Code snippet

import { ImageCropScreen } from "@likeminds.community/chat-rn-core";
import { NavigationContainer } from "@react-navigation/native";
return (
// replace NavigationContainer with your navigation container
<NavigationContainer independent={true}>
<Stack.Navigator>
<Stack.Screen
options={{ headerShown: false }}
name={"ImageCropScreen"}
component={ImageCropScreen}
/>
;
</Stack.Navigator>
</NavigationContainer>
);