printer-notifications/node_modules/@skeletonlabs/skeleton/dist/utilities/index.d.ts

19 lines
394 B
TypeScript
Raw Normal View History

2023-11-13 21:10:04 +00:00
/**
* Used to initialize the stores for the `Modal`, `Toast`, and `Drawer` utilities.
*
* @example
* ```svelte
* <!-- App's root +layout.svelte -->
* <script>
* import { initializeStores, Toast, Modal, Drawer } from "@skeletonlabs/skeleton";
*
* initializeStores();
* </script>
*
* <Toast />
* <Modal />
* <Drawer />
* ```
*/
export declare function initializeStores(): void;