UNPKG

expo-camera

Version:

A React component that renders a preview for the device's either front or back camera. Camera's parameters like zoom, auto focus, white balance and flash mode are adjustable. With expo-camera, one can also take photos and record videos that are saved to t

9 lines (5 loc) 281 B
import { requireNativeViewManager } from 'expo-modules-core'; import { type ComponentType } from 'react'; import { CameraNativeProps } from './Camera.types'; const ExpoCamera: ComponentType<CameraNativeProps> = requireNativeViewManager('ExpoCamera'); export default ExpoCamera;