From 2d26aad9277bc89ef18c3d785be6c2b5f6180cdc 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 d9ce076e73..d81cb58a0d 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