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

11 lines 626 B
import { type PropsWithChildren } from 'react'; import { CameraNativeProps, CameraCapturedPicture, CameraPictureOptions } from './Camera.types'; export interface ExponentCameraRef { getAvailablePictureSizes: (ratio: string) => Promise<string[]>; takePicture: (options: CameraPictureOptions) => Promise<CameraCapturedPicture>; resumePreview: () => Promise<void>; pausePreview: () => Promise<void>; } declare const ExponentCamera: ({ facing, poster, ref, ...props }: PropsWithChildren<CameraNativeProps>) => import("react").JSX.Element; export default ExponentCamera; //# sourceMappingURL=ExpoCamera.web.d.ts.map