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.
2 parents 1dfee1f + 6de0f74 commit 2d039aaCopy full SHA for 2d039aa
src/lib/index.ts
@@ -1,3 +1,3 @@
1
export { default as ModalContainer } from './ModalContainer.svelte';
2
-export { openModal } from './service';
+export { openModal, useModalContext } from './service';
3
export type { CloseModalFn } from './types';
tests-ct/Wrapper.svelte
@@ -1,5 +1,5 @@
<script>
- import { useModalContext } from '$lib/service';
+ import { useModalContext } from '$lib';
4
let { openModal } = useModalContext();
5
</script>
0 commit comments