(props: DropdownSectionProps<T>)
| 108 | } |
| 109 | |
| 110 | export function DropdownSection<T>(props: DropdownSectionProps<T>) { |
| 111 | return ( |
| 112 | <ListBoxSection className="first:-mt-[5px] after:content-[''] after:block after:h-[5px] last:after:hidden"> |
| 113 | <Header className="text-sm font-semibold text-neutral-500 dark:text-neutral-300 px-4 py-1 truncate sticky -top-[5px] -mt-px -mx-1 z-10 bg-neutral-100/60 dark:bg-neutral-700/60 backdrop-blur-md supports-[-moz-appearance:none]:bg-neutral-100 border-y border-y-neutral-200 dark:border-y-neutral-700 [&+*]:mt-1"> |
| 114 | {props.title} |
| 115 | </Header> |
| 116 | <Collection items={props.items}>{props.children}</Collection> |
| 117 | </ListBoxSection> |
| 118 | ); |
| 119 | } |
nothing calls this directly
no outgoing calls
no test coverage detected