From 00f3adb6c3eba58a5474592057124b2520afb12d Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Tue, 20 Aug 2024 10:28:03 +0200 Subject: [PATCH] fixup! feat(NcCounterBubble): add count prop and humanize output --- src/components/NcCounterBubble/NcCounterBubble.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/NcCounterBubble/NcCounterBubble.vue b/src/components/NcCounterBubble/NcCounterBubble.vue index 119d6e7d80..5dc3ea7f65 100644 --- a/src/components/NcCounterBubble/NcCounterBubble.vue +++ b/src/components/NcCounterBubble/NcCounterBubble.vue @@ -127,11 +127,11 @@ th { ``` -### Custom content +### Custom content (deprecated) -You can use slot to pass any custom content. +You can use the default slot to pass any custom content. If you pass a plain number to the default slot, without raw prop it will be humanized like via `count` prop. -Note, if you pass a plain number to the default slot, without raw prop it will be humanized like via `count` prop. This feature is **deprecated** and will be removed in the future. Prefer using `count` prop for numbers with humanization. +Note: passing count via slot content is **deprecated** and will be removed in the v9. Prefer using `count` prop for numbers or [NcChip](#/Components/NcChip) component for a custom content. ```vue