Skip to content

Commit

Permalink
fixup! feat(NcCounterBubble): add count prop and humanize output
Browse files Browse the repository at this point in the history
  • Loading branch information
ShGKme committed Aug 20, 2024
1 parent fe8eb1f commit 00f3adb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/NcCounterBubble/NcCounterBubble.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ th {
</style>
```

### 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
<template>
Expand Down

0 comments on commit 00f3adb

Please sign in to comment.