Skip to content

Commit

Permalink
Merge pull request #6360 from dvpritzbuer/issue-6357
Browse files Browse the repository at this point in the history
Fix #6357: typescript definition for ButtonGroup
  • Loading branch information
gucal authored Apr 15, 2024
2 parents 943b454 + d758809 commit 3c3c64d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions components/lib/buttongroup/buttongroup.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -88,4 +83,4 @@ export interface ButtonGroupProps {
* @group Component
*
*/
export declare const ButtonGroup: React.ForwardRefExoticComponent<ButtonGroupProps>;
export declare const ButtonGroup: React.ForwardRefExoticComponent<React.PropsWithChildren<ButtonGroupProps> & React.RefAttributes<HTMLDivElement>>;

0 comments on commit 3c3c64d

Please sign in to comment.