diff --git a/docs/content/2.elements/6.dropdown.md b/docs/content/2.elements/6.dropdown.md index 27a7a319..5787310c 100644 --- a/docs/content/2.elements/6.dropdown.md +++ b/docs/content/2.elements/6.dropdown.md @@ -14,8 +14,9 @@ links: Pass an array of arrays to the `items` prop of the Dropdown component. Each array represents a group of items. Each item can have the following properties: - `label` - The label of the item. +- `labelClass` - The class of the item label. :u-badge{label="New" class="!rounded-full" variant="subtle"} - `icon` - The icon of the item. -- `iconClass` - The class of the icon of the item. +- `iconClass` - The class of the item icon. - `avatar` - The avatar of the item. You can pass all the props of the [Avatar](/elements/avatar) component. - `shortcuts` - The shortcuts of the item. - `slot` - The slot of the item. diff --git a/src/runtime/components/elements/Dropdown.vue b/src/runtime/components/elements/Dropdown.vue index eda24938..bc8f8129 100644 --- a/src/runtime/components/elements/Dropdown.vue +++ b/src/runtime/components/elements/Dropdown.vue @@ -21,7 +21,7 @@