Fixed #1448 - Slotname message is unrecognized in toast template

pull/1478/head
Tuğçe Küçükoğlu 2021-08-24 11:32:22 +03:00
parent d3e4f09850
commit c5bb8ea2ac
1 changed files with 9 additions and 1 deletions

View File

@ -31,10 +31,18 @@ const ToastProps = [
} }
]; ];
const ToastSlots = [
{
name: "message",
description: "Custom content for the toast message"
}
];
module.exports = { module.exports = {
toast: { toast: {
name: "Toast", name: "Toast",
description: "Toast is used to display messages in an overlay.", description: "Toast is used to display messages in an overlay.",
props: ToastProps props: ToastProps,
slots: ToastSlots
} }
}; };