File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed
Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const App = () => {
1515 barColor : 'purple' ,
1616 controlColor : '#000000' ,
1717 dismissButtonLabel : 'close' ,
18- presentationStyle : NitroInAppBrowserPresentationStyle . FullScreen ,
18+ presentationStyle : "fullScreen" ,
1919 } ) ;
2020 } catch ( error ) {
2121 console . error ( error ) ;
Original file line number Diff line number Diff line change 11export type NitroInAppBrowserDismissButtonLabel = 'cancel' | 'done' | 'close'
22
3- export enum NitroInAppBrowserPresentationStyle {
4- PageSheet = 'pageSheet' ,
5- FormSheet = 'formSheet' ,
6- FullScreen = 'fullScreen' ,
7- }
3+ export type NitroInAppBrowserPresentationStyle = 'pageSheet' | 'formSheet' | 'fullScreen'
84
95export interface NitroInAppBrowserOptions {
10- dismissButtonLabel ?: NitroInAppBrowserDismissButtonLabel
11- presentationStyle ?: string // NitroInAppBrowserPresentationStyle
12- barColor ?: string
13- controlColor ?: string
6+ dismissButtonLabel ?: NitroInAppBrowserDismissButtonLabel
7+ presentationStyle ?: NitroInAppBrowserPresentationStyle
8+ barColor ?: string
9+ controlColor ?: string
1410}
You can’t perform that action at this time.
0 commit comments