From 6cb87d2ea53ae14e283523a5e184e0c0995b77e9 Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Sat, 3 Aug 2024 09:55:46 +0200 Subject: [PATCH] feat(NcListItem): provide additional slots for customization - extra-actions for inline component - actions-icon for icon in NcActions component Signed-off-by: Maksim Sukharev --- src/components/NcListItem/NcListItem.vue | 110 ++++++++++++++++++++++- 1 file changed, 107 insertions(+), 3 deletions(-) diff --git a/src/components/NcListItem/NcListItem.vue b/src/components/NcListItem/NcListItem.vue index f2df354ee8..f7c16cc974 100644 --- a/src/components/NcListItem/NcListItem.vue +++ b/src/components/NcListItem/NcListItem.vue @@ -268,6 +268,94 @@ ``` +### NcListItem with extra actions slot and customized icon + +The `extra-actions` slot can be used to add other interactive components. + +The `actions-icon` slot can be used to pass icon to the inner NcActions component. + +```vue + + +``` ### NcListItem compact mode ```vue