Skip to content

Commit

Permalink
Fix #6333: ButtonGroup add children to Typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Apr 8, 2024
1 parent 131e680 commit 1d1e9d4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/lib/buttongroup/buttongroup.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 1d1e9d4

Please sign in to comment.