Skip to content

Commit 9e6499d

Browse files
committed
add capture function to index.d.ts file
1 parent f24f100 commit 9e6499d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ declare module 'react-native-view-shot' {
7575
}
7676

7777
export default class ViewShot extends Component<ViewShotProperties> {
78+
capture?(): Promise<string>;
7879
}
7980

8081
/**

0 commit comments

Comments
 (0)