Skip to content

Commit 10bafb4

Browse files
committed
Add typescript declaration
1 parent c9c67bb commit 10bafb4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

types/index.d.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
declare module 'react-native-brownfield' {
2+
/**
3+
* A method to pop to native screen used to push React Native experience.
4+
*/
5+
export function popToNative(animated?: boolean): void;
6+
7+
/**
8+
* A method used to toggle iOS native back gesture and Android hardware back button.
9+
*/
10+
export function setNativeGesturesAndButtonsEnabled(enabled: boolean): void;
11+
}

0 commit comments

Comments
 (0)