From 1d1e9d48cc1513fa7c42a77861b87cc440cd7510 Mon Sep 17 00:00:00 2001 From: melloware Date: Mon, 8 Apr 2024 15:37:10 -0400 Subject: [PATCH] Fix #6333: ButtonGroup add children to Typescript --- components/lib/buttongroup/buttongroup.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/lib/buttongroup/buttongroup.d.ts b/components/lib/buttongroup/buttongroup.d.ts index bb8e3ff0f3..0099d5f106 100644 --- a/components/lib/buttongroup/buttongroup.d.ts +++ b/components/lib/buttongroup/buttongroup.d.ts @@ -54,6 +54,11 @@ export interface ButtonGroupPassThroughAttributes { * Defines valid properties in ButtonGroup component. */ export interface ButtonGroupProps { + /** + * Used to get the child elements of the component. + * @readonly + */ + children?: React.ReactNode | undefined; /** * Used to pass attributes to DOM elements inside the component. * @type {ButtonGroupPassThroughOptions}