mirror of
https://github.com/status-im/react-native-camera.git
synced 2026-08-30 21:21:06 +00:00
fix(types): fix definition for RNCameraProps.ratio
It was "number" and not "string" + add new flag TakePictureOptions.forceUpOrientation
This commit is contained in:
Vendored
+4
-1
@@ -67,7 +67,7 @@ export interface RNCameraProps {
|
||||
// -- ANDROID ONLY PROPS
|
||||
|
||||
/** Android only */
|
||||
ratio?: number;
|
||||
ratio?: string;
|
||||
/** Android only */
|
||||
permissionDialogTitle?: string;
|
||||
/** Android only */
|
||||
@@ -116,6 +116,9 @@ interface TakePictureOptions {
|
||||
quality?: number;
|
||||
base64?: boolean;
|
||||
exif?: boolean;
|
||||
|
||||
/** iOS only */
|
||||
forceUpOrientation?: boolean;
|
||||
}
|
||||
|
||||
interface TakePictureResponse {
|
||||
|
||||
Reference in New Issue
Block a user