({
title,
action,
children,
id,
}: ToolSectionProps)
| 10 | } |
| 11 | |
| 12 | export const ToolSection = ({ |
| 13 | title, |
| 14 | action, |
| 15 | children, |
| 16 | id, |
| 17 | }: ToolSectionProps): ReactElement => ( |
| 18 | <section |
| 19 | id={id} |
| 20 | className="flex scroll-mt-[calc(var(--safe-area-top,0px)+var(--shell-top,4rem))] flex-col gap-4 py-8" |
| 21 | > |
| 22 | <div className="flex items-center gap-3"> |
| 23 | <EntitySectionHeading className="!mb-0 !mt-0"> |
| 24 | {title} |
| 25 | </EntitySectionHeading> |
| 26 | <div className="h-px flex-1 bg-border-subtlest-tertiary" /> |
| 27 | {action} |
| 28 | </div> |
| 29 | {children} |
| 30 | </section> |
| 31 | ); |
nothing calls this directly
no outgoing calls
no test coverage detected