({
className,
render,
...props
}: useRender.ComponentProps<"div"> & React.ComponentProps<"div">)
| 401 | } |
| 402 | |
| 403 | function SidebarGroupLabel({ |
| 404 | className, |
| 405 | render, |
| 406 | ...props |
| 407 | }: useRender.ComponentProps<"div"> & React.ComponentProps<"div">) { |
| 408 | return useRender({ |
| 409 | defaultTagName: "div", |
| 410 | props: mergeProps<"div">( |
| 411 | { |
| 412 | className: cn( |
| 413 | "cn-sidebar-group-label flex shrink-0 items-center outline-hidden [&>svg]:shrink-0", |
| 414 | className |
| 415 | ), |
| 416 | }, |
| 417 | props |
| 418 | ), |
| 419 | render, |
| 420 | state: { |
| 421 | slot: "sidebar-group-label", |
| 422 | sidebar: "group-label", |
| 423 | }, |
| 424 | }) |
| 425 | } |
| 426 | |
| 427 | function SidebarGroupAction({ |
| 428 | className, |
nothing calls this directly
no test coverage detected