From d75880906d0c3a4439a201ddf06c33040b2d99c3 Mon Sep 17 00:00:00 2001 From: Daniel vP Date: Tue, 9 Apr 2024 22:05:03 +0200 Subject: [PATCH] fix: typescript definition for ButtonGroup (missing ref definition) --- components/lib/buttongroup/buttongroup.d.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/components/lib/buttongroup/buttongroup.d.ts b/components/lib/buttongroup/buttongroup.d.ts index 0099d5f106..86cfcf36e9 100644 --- a/components/lib/buttongroup/buttongroup.d.ts +++ b/components/lib/buttongroup/buttongroup.d.ts @@ -54,11 +54,6 @@ 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} @@ -88,4 +83,4 @@ export interface ButtonGroupProps { * @group Component * */ -export declare const ButtonGroup: React.ForwardRefExoticComponent; +export declare const ButtonGroup: React.ForwardRefExoticComponent & React.RefAttributes>;