Skip to content

Commit

Permalink
fix: typescript definition for ButtonGroup (missing ref definition)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvpritzbuer committed Apr 9, 2024
1 parent 3da9641 commit d758809
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 d758809

Please sign in to comment.