Skip to content

Commit f61004d

Browse files
author
Felipe Constantino
committed
feat(types): add types for react-native-camera#1523
1 parent 68106f4 commit f61004d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

types/index.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ type FlashMode = { on: any, off: any, torch: any, auto: any };
1717
type CameraType = { front: any, back: any };
1818
type WhiteBalance = { sunny: any, cloudy: any, shadow: any, incandescent: any, fluorescent: any, auto: any };
1919
type BarCodeType = { aztec: any, code128: any, code39: any, code39mod43: any, code93: any, ean13: any, ean8: any, pdf417: any, qr: any, upce: any, interleaved2of5: any, itf14: any, datamatrix: any };
20-
type VideoQuality = { '2160p': any, '1080p': any, '720p': any, '480p': any, '4:3': any };
20+
type VideoQuality = {
21+
'2160p': any, '1080p': any, '720p': any, '480p': any, '4:3': any;
22+
/** iOS Only. Android not supported. */
23+
'288p': any;
24+
};
2125
type VideoCodec = { 'H264': symbol, 'JPEG': symbol, 'HVEC': symbol, 'AppleProRes422': symbol, 'AppleProRes4444': symbol };
2226

2327
type FaceDetectionClassifications = { all: any, none: any };

0 commit comments

Comments
 (0)