From c5bb8ea2ac1093e5733088c4ae7594d6424c0198 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 24 Aug 2021 11:32:22 +0300 Subject: [PATCH] Fixed #1448 - Slotname message is unrecognized in toast template --- api-generator/components/toast.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/api-generator/components/toast.js b/api-generator/components/toast.js index 119cac56d..0b38018f3 100644 --- a/api-generator/components/toast.js +++ b/api-generator/components/toast.js @@ -31,10 +31,18 @@ const ToastProps = [ } ]; +const ToastSlots = [ + { + name: "message", + description: "Custom content for the toast message" + } +]; + module.exports = { toast: { name: "Toast", description: "Toast is used to display messages in an overlay.", - props: ToastProps + props: ToastProps, + slots: ToastSlots } };