From 9b946d4eb896e0214b14fded116daf5edc8deb87 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 | 44 +++++++++++++++++-- 1 file changed, 40 insertions(+), 4 deletions(-) diff --git a/src/components/NcEmptyContent/NcEmptyContent.vue b/src/components/NcEmptyContent/NcEmptyContent.vue index 0ba62985aa..fe8c618f99 100644 --- a/src/components/NcEmptyContent/NcEmptyContent.vue +++ b/src/components/NcEmptyContent/NcEmptyContent.vue @@ -48,7 +48,8 @@ export default { ``` You can also customize the name using the `#name` slot -and add actions. +and add actions. But to keep the style consistent across Nextcloud +consider only using header elements as the root elements for the name slot. ```