From 3ad87453b4e3a35214ce8760f049fad7d9daa172 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Wed, 15 Mar 2023 18:46:22 +0100 Subject: [PATCH] feat: Add slot for description of `NcEmptyContent` Signed-off-by: Ferdinand Thiessen --- .../NcEmptyContent/NcEmptyContent.vue | 38 ++++++++++++++++++- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/src/components/NcEmptyContent/NcEmptyContent.vue b/src/components/NcEmptyContent/NcEmptyContent.vue index ba6e2fec56..6dcf18b543 100644 --- a/src/components/NcEmptyContent/NcEmptyContent.vue +++ b/src/components/NcEmptyContent/NcEmptyContent.vue @@ -73,6 +73,34 @@ and add actions. +``` + +Similar to the `#title` slot, you could also use the `#description` slot. +The content will be rendered within a paragraph so you can use any inline element, +like a link. + +``` + + +