({children, ...props}: HeadingProps)
| 16 | } |
| 17 | |
| 18 | export function DisclosureHeader({children, ...props}: HeadingProps) { |
| 19 | return ( |
| 20 | <Heading {...props}> |
| 21 | <Button slot="trigger" className="disclosure-button"> |
| 22 | <ChevronRight size={16} /> |
| 23 | <span>{children}</span> |
| 24 | </Button> |
| 25 | </Heading> |
| 26 | ); |
| 27 | } |
| 28 | |
| 29 | export function DisclosurePanel(props: DisclosurePanelProps) { |
| 30 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected