diff --git a/src/__tests__/snapshot-tests/__snapshots__/documenter.test.ts.snap b/src/__tests__/snapshot-tests/__snapshots__/documenter.test.ts.snap index d82af6e4b56..1489311448a 100644 --- a/src/__tests__/snapshot-tests/__snapshots__/documenter.test.ts.snap +++ b/src/__tests__/snapshot-tests/__snapshots__/documenter.test.ts.snap @@ -6792,7 +6792,8 @@ When \`type\` is set to "checkbox", the values set to \`href\`, \`external\` and ### group - \`items\` (ReadonlyArray) - an array of item objects. Items will be rendered as nested menu items but only for the first nesting level, multi-nesting is not supported. -An item which belongs to nested group has the following properties: \`id\`, \`text\`, \`disabled\`, and \`description\`.", +An item which belongs to nested group has the following properties: \`id\`, \`text\`, \`disabled\`, and \`description\`. +- \`expandable\` (boolean) - (Optional) Defines whether the group is expandable (this overrides the component-level \`expandableGroups\` property).", "name": "items", "optional": false, "type": "ReadonlyArray", diff --git a/src/button-dropdown/interfaces.ts b/src/button-dropdown/interfaces.ts index 7673657382b..c75e6196209 100644 --- a/src/button-dropdown/interfaces.ts +++ b/src/button-dropdown/interfaces.ts @@ -57,6 +57,7 @@ export interface ButtonDropdownProps extends BaseComponentProps, ExpandToViewpor * * - `items` (ReadonlyArray) - an array of item objects. Items will be rendered as nested menu items but only for the first nesting level, multi-nesting is not supported. * An item which belongs to nested group has the following properties: `id`, `text`, `disabled`, and `description`. + * - `expandable` (boolean) - (Optional) Defines whether the group is expandable (this overrides the component-level `expandableGroups` property). * */ items: ReadonlyArray;