diff --git a/packages/ui/src/Collapsible/Collapsible.tsx b/packages/ui/src/Collapsible/Collapsible.tsx index 211c54fd..7c58d172 100644 --- a/packages/ui/src/Collapsible/Collapsible.tsx +++ b/packages/ui/src/Collapsible/Collapsible.tsx @@ -6,7 +6,7 @@ import { ChevronDownIcon } from '@heroicons/react/20/solid'; type Props = Readonly<{ children: ReactNode; defaultOpen?: boolean; - label: string; + label: ReactNode; }>; export default function Collapsible({ children, defaultOpen, label }: Props) { @@ -14,10 +14,10 @@ export default function Collapsible({ children, defaultOpen, label }: Props) { {({ open }) => ( <> - +