Skip to content

Commit a1a7d00

Browse files
authored
feat: title as an element (#244)
1 parent 6f42938 commit a1a7d00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/accordion/Accordion.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export function Accordion({ children, ...props }: AccordionProps) {
7474
}
7575

7676
export interface AccordionItemProps {
77-
title: string;
77+
title: ReactNode;
7878
/**
7979
* An extra interactive element to be displayed next to the header
8080
*/

0 commit comments

Comments
 (0)