Closed nstuyvesant closed 3 years ago
I'm using ToastHeader instead of the Toast header property. My console displays...
was created without expected prop "header"
Minor thing but I think if you change this line from
export let header;
to
export let header = undefined;
the warning should go away. Your property, header, is not required according to Toast.d.ts.
Just an annoying Svelte warning.
Ah thanks for the catch, will do 👍
Released in sveltestrap@5.6.3, thanks for the issue.
I'm using ToastHeader instead of the Toast header property. My console displays...
Minor thing but I think if you change this line from
to
the warning should go away. Your property, header, is not required according to Toast.d.ts.
Just an annoying Svelte warning.