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

Commit

Permalink
feat(types): add types for #1441
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Constantino committed Apr 6, 2018
1 parent a506fda commit be3e0eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export interface RNCameraProps {
flashMode?: keyof FlashMode;
notAuthorizedView?: JSX.Element;
pendingAuthorizationView?: JSX.Element;
useCamera2Api?: boolean;

onCameraReady?(): void;
onMountError?(): void;
Expand Down Expand Up @@ -83,12 +84,13 @@ export interface RNCameraProps {
permissionDialogTitle?: string;
/** Android only */
permissionDialogMessage?: string;
/** Android only */
playSoundOnCapture?: boolean;

// -- IOS ONLY PROPS

/** iOS Only */
captureAudio?: boolean;

}

interface Point<T = number> {
Expand Down

2 comments on commit be3e0eb

@jgfidelis
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could make bot for this :P

@Fconstant
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How?

Please sign in to comment.