Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

Commit

Permalink
chore(types): add new keys to TakePictureOptions
Browse files Browse the repository at this point in the history
Add new key types to `TakePictureOptions` according to the #1283 PR
  • Loading branch information
Fconstant committed Feb 27, 2018
1 parent c331964 commit cc27203
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ interface TakePictureOptions {
quality?: number;
base64?: boolean;
exif?: boolean;
width?: number;

/** Android only */
fixOrientation?: boolean;
/** iOS only */
forceUpOrientation?: boolean;
}
Expand Down Expand Up @@ -172,4 +175,4 @@ export class FaceDetector {
*/
export default class RCTCamera extends Component<any> {
static constants: any;
}
}

0 comments on commit cc27203

Please sign in to comment.