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.
classes
1 parent 9ff804e commit 9ad542bCopy full SHA for 9ad542b
src/index.d.ts
@@ -15,7 +15,8 @@ declare module '@zerodevx/svelte-toast'
15
* dismissable: true, // allow dismiss with close button
16
* reversed: false, // insert new toast to bottom of stack
17
* intro: { x: 256 }, // toast intro fly animation settings
18
- * theme: {} // css var overrides
+ * theme: {}, // css var overrides
19
+ * classes: [] // user-defined classes
20
* }
21
* ```
22
*/
@@ -32,6 +33,7 @@ export interface SvelteToastOptions {
32
33
reversed?: boolean
34
intro?: FlyParams
35
theme?: { [key: string]: string }
36
+ classes?: string[]
37
component?: {
38
src: typeof SvelteComponent
39
props?: { [key: string]: any }
0 commit comments