diff --git a/packages/components/src/tools-panel/tools-panel-header/README.md b/packages/components/src/tools-panel/tools-panel-header/README.md index e6164306dbee31..298e9f660d944e 100644 --- a/packages/components/src/tools-panel/tools-panel-header/README.md +++ b/packages/components/src/tools-panel/tools-panel-header/README.md @@ -18,6 +18,14 @@ This component is generated automatically by its parent ## Props +### `dropdownMenuProps`: `{}` + +The popover props to configure panel's `DropdownMenu`. + +- Type: `Object` +- Required: No +- Default: `{}` + ### `headingLevel`: `1 | 2 | 3 | 4 | 5 | 6 | '1' | '2' | '3' | '4' | '5' | '6'` The heading level of the panel's header. diff --git a/packages/components/src/tools-panel/tools-panel/README.md b/packages/components/src/tools-panel/tools-panel/README.md index 0ee251592d67b1..1c64467b2c14e5 100644 --- a/packages/components/src/tools-panel/tools-panel/README.md +++ b/packages/components/src/tools-panel/tools-panel/README.md @@ -157,6 +157,14 @@ wrapper element allowing the panel to lay them out accordingly. - Required: No - Default: `false` +### `dropdownMenuProps`: `{}` + +The popover props to configure panel's `DropdownMenu`. + +- Type: `Object` +- Required: No +- Default: `{}` + ### `headingLevel`: `1 | 2 | 3 | 4 | 5 | 6 | '1' | '2' | '3' | '4' | '5' | '6'` The heading level of the panel's header. diff --git a/packages/components/src/tools-panel/types.ts b/packages/components/src/tools-panel/types.ts index 3156137e580442..2b74e24ffe67b5 100644 --- a/packages/components/src/tools-panel/types.ts +++ b/packages/components/src/tools-panel/types.ts @@ -16,6 +16,12 @@ export type ToolsPanelProps = { * The child elements. */ children: ReactNode; + /** + * The popover props to configure panel's DropdownMenu. + * + * @default {} + */ + dropdownMenuProps?: {}; /** * Flags that the items in this ToolsPanel will be contained within an inner * wrapper element allowing the panel to lay them out accordingly. @@ -69,6 +75,12 @@ export type ToolsPanelProps = { }; export type ToolsPanelHeaderProps = { + /** + * The popover props to configure panel's DropdownMenu. + * + * @default {} + */ + dropdownMenuProps?: {}; /** * The heading level of the panel's header. *