Skip to content

Commit

Permalink
Merge pull request #2642 from ml054/master
Browse files Browse the repository at this point in the history
Added missing toggle to Accordion
  • Loading branch information
aaronmars committed Jul 13, 2023
2 parents dad7dbe + 136fee3 commit 61f2453
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/lib/Accordion.d.ts
Expand Up @@ -7,6 +7,7 @@ export interface AccordionProps extends React.HTMLAttributes<HTMLElement> {
flush?: boolean;
innerRef?: React.Ref<HTMLElement>;
open: string | string[];
toggle: (targetId: string) => void;
}

export interface UncontrolledAccordionProps extends Omit<AccordionProps, 'open'> {
Expand Down

0 comments on commit 61f2453

Please sign in to comment.