Skip to content

Commit 00f3adb

Browse files
committed
fixup! feat(NcCounterBubble): add count prop and humanize output
1 parent fe8eb1f commit 00f3adb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/NcCounterBubble/NcCounterBubble.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,11 @@ th {
127127
</style>
128128
```
129129

130-
### Custom content
130+
### Custom content (deprecated)
131131

132-
You can use slot to pass any custom content.
132+
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.
133133

134-
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.
134+
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.
135135

136136
```vue
137137
<template>

0 commit comments

Comments
 (0)