Skip to content

Commit f30d81d

Browse files
authored
Add iosIgnorePresentedViewController to Snackbar typings
Add iosIgnorePresentedViewController property to Snackbar definition
1 parent 5ae1f7f commit f30d81d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/snackbar/snackbar.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,10 @@ export interface SnackBarOptions {
8686
* The snackbar will appear above that view
8787
*/
8888
anchorView?: View;
89+
/**
90+
* iOS function to ignore special case of presentedViewController
91+
* like not wanting to show a snack inside a Popover
92+
*/
93+
iosIgnorePresentedViewController?: (controller) => boolean;
8994
}
9095

0 commit comments

Comments
 (0)