@drivekyte/react-native-camera
v4.0.1
Published
Kyte mobile React Native Camera Adapter
Downloads
22
Readme
@drivekyte/react-native-camera
Kyte Mobile react-native-camera adapter
Installation
yarn add react-native-vision-camera react-native-reanimated@^2.17.0 && npx pod-install
Follow the reanimated setup, make sure to import the react-native-reanimated at your first line in index.tsx
import 'react-native-reanimated'
Usage
import { CaptureImage } from '@drivekyte/react-native-camera';
return (
<Box>
<CaptureImage
visible={visible}
retakeCta="retake"
confirmCta="confirm"
title="Capture Image"
onClose={closeCamera}
onConfirmPhoto={closeCamera}
/>
</Box>
)