We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39a69cf commit b6ab49cCopy full SHA for b6ab49c
src/bottomsheet/svelte/index.ts
@@ -29,7 +29,7 @@ export function resolveComponentElement<T>(viewSpec: typeof SvelteComponent<T>,
29
return { element, viewInstance };
30
}
31
32
-export function showBottomSheet<T, U = any>(modalOptions: SvelteShowBottomSheetOptions<U>): Promise<T> {
+export function showBottomSheet<T = any, U = any>(modalOptions: SvelteShowBottomSheetOptions<U>): Promise<T> {
33
const { view, parent, props = {}, ...options } = modalOptions;
34
// Get this before any potential new frames are created by component below
35
const modalLauncher: View = (parent && (parent instanceof View ? parent : parent.nativeView)) || Frame.topmost().currentPage;
0 commit comments