Function
CollapsiblePanel
({
className,
...props
}: CollapsiblePrimitive.Panel.Props)
Source from the content-addressed store, hash-verified
| 22 | } |
| 23 | |
| 24 | function CollapsiblePanel({ |
| 25 | className, |
| 26 | ...props |
| 27 | }: CollapsiblePrimitive.Panel.Props) { |
| 28 | return ( |
| 29 | <CollapsiblePrimitive.Panel |
| 30 | className={cn( |
| 31 | "h-(--collapsible-panel-height) overflow-hidden transition-[height] duration-200 data-ending-style:h-0 data-starting-style:h-0", |
| 32 | className, |
| 33 | )} |
| 34 | data-slot="collapsible-panel" |
| 35 | {...props} |
| 36 | /> |
| 37 | ); |
| 38 | } |
| 39 | |
| 40 | export { |
| 41 | Collapsible, |
Callers
nothing calls this directly
Tested by
no test coverage detected