Skip to content

Commit

Permalink
Fixed UncontrolledAccordian typings - regression introduced in 8457b12
Browse files Browse the repository at this point in the history
  • Loading branch information
ml054 committed Jan 16, 2024
1 parent 85cd68b commit d58207b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/lib/Accordion.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface AccordionProps extends React.HTMLAttributes<HTMLElement> {
toggle: (targetId: string) => void;
}

export interface UncontrolledAccordionProps extends Omit<AccordionProps, 'open'> {
export interface UncontrolledAccordionProps extends Omit<AccordionProps, 'open' | 'toggle'> {
defaultOpen?: string | string[];
stayOpen?: boolean;
}
Expand Down

0 comments on commit d58207b

Please sign in to comment.