mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-24 09:48:17 +00:00
Merge pull request #1244 from jgfidelis/update-types
Update PictureOptions and RecordingOptions type
This commit is contained in:
commit
5627d0144c
@ -19,6 +19,9 @@ import { requestPermissions } from './handlePermissions';
|
|||||||
|
|
||||||
type PictureOptions = {
|
type PictureOptions = {
|
||||||
quality?: number,
|
quality?: number,
|
||||||
|
base64?: boolean,
|
||||||
|
mirrorImage?: boolean,
|
||||||
|
exif?: boolean,
|
||||||
};
|
};
|
||||||
|
|
||||||
type TrackedFaceFeature = FaceFeature & {
|
type TrackedFaceFeature = FaceFeature & {
|
||||||
@ -29,6 +32,7 @@ type RecordingOptions = {
|
|||||||
maxDuration?: number,
|
maxDuration?: number,
|
||||||
maxFileSize?: number,
|
maxFileSize?: number,
|
||||||
quality?: number | string,
|
quality?: number | string,
|
||||||
|
mute?: boolean,
|
||||||
};
|
};
|
||||||
|
|
||||||
type EventCallbackArgumentsType = {
|
type EventCallbackArgumentsType = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user