From 94ea75f4417c56ba60c6251ccb542a3bcb2c42e5 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Thu, 15 May 2025 15:30:02 +0200 Subject: [PATCH] docs(content): update badges --- docs/content/3.components/navigation-menu.md | 6 +++--- docs/content/3.components/slider.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content/3.components/navigation-menu.md b/docs/content/3.components/navigation-menu.md index f7b286bd..d5179692 100644 --- a/docs/content/3.components/navigation-menu.md +++ b/docs/content/3.components/navigation-menu.md @@ -21,10 +21,10 @@ Use the `items` prop as an array of objects with the following properties: - `icon?: string`{lang="ts-type"} - `avatar?: AvatarProps`{lang="ts-type"} - `badge?: string | number | BadgeProps`{lang="ts-type"} -- `tooltip?: TooltipProps`{lang="ts-type"} :badge{label="Soon"} +- `tooltip?: TooltipProps`{lang="ts-type"} - `trailingIcon?: string`{lang="ts-type"} - `type?: 'label' | 'link'`{lang="ts-type"} -- `collapsible?: boolean`{lang="ts-type"} :badge{label="Soon"} +- `collapsible?: boolean`{lang="ts-type"} - `defaultOpen?: boolean`{lang="ts-type"} - `open?: boolean`{lang="ts-type"} - `value?: string`{lang="ts-type"} @@ -885,7 +885,7 @@ You can inspect the DOM to see each item's content being rendered. ## Examples -### With tooltips in items :badge{label="Soon" class="align-text-top"} +### With tooltips in items :badge{label="New" class="align-text-top"} You can use the `tooltip` property to display a [Tooltip](/components/tooltip) around an item. This can be useful when the menu is collapsed. diff --git a/docs/content/3.components/slider.md b/docs/content/3.components/slider.md index 465f821b..28784be3 100644 --- a/docs/content/3.components/slider.md +++ b/docs/content/3.components/slider.md @@ -136,7 +136,7 @@ props: --- :: -### Tooltip :badge{label="Soon" class="align-text-top"} +### Tooltip :badge{label="New" class="align-text-top"} Use the `tooltip` prop to display a [Tooltip](/components/tooltip) around the Slider thumbs with the current value. You can set it to `true` for default behavior or pass an object to customize it with any property from the [Tooltip](/components/tooltip#props) component.