one
Version:
One is a React framework for web, iOS, and Android apps.
24 lines • 937 B
TypeScript
export type BrowserResultType = 'cancel' | 'dismiss' | 'opened' | 'locked';
export interface BrowserResult {
type: BrowserResultType;
}
export interface BrowserRedirectResult {
type: 'success';
url: string;
}
export type BrowserAuthSessionResult = BrowserRedirectResult | BrowserResult;
export type BrowserPresentationStyle = 'automatic' | 'currentContext' | 'formSheet' | 'fullScreen' | 'overCurrentContext' | 'overFullScreen' | 'pageSheet';
export type BrowserColorScheme = 'system' | 'light' | 'dark';
export interface BrowserOpenOptions {
presentationStyle?: BrowserPresentationStyle;
browserPackage?: string;
toolbarColor?: string;
secondaryToolbarColor?: string;
controlsColor?: string;
showTitle?: boolean;
colorScheme?: BrowserColorScheme;
}
export interface BrowserAuthSessionOptions extends BrowserOpenOptions {
preferEphemeralSession?: boolean;
}
//# sourceMappingURL=types.d.ts.map