Function
ButtonGroupText
({
className,
render,
...props
}: useRender.ComponentProps<"div">)
Source from the content-addressed store, hash-verified
| 39 | } |
| 40 | |
| 41 | function ButtonGroupText({ |
| 42 | className, |
| 43 | render, |
| 44 | ...props |
| 45 | }: useRender.ComponentProps<"div">) { |
| 46 | return useRender({ |
| 47 | defaultTagName: "div", |
| 48 | props: mergeProps<"div">( |
| 49 | { |
| 50 | className: cn( |
| 51 | "bg-muted gap-2 rounded-none border px-2.5 text-xs font-medium [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none", |
| 52 | className |
| 53 | ), |
| 54 | }, |
| 55 | props |
| 56 | ), |
| 57 | render, |
| 58 | state: { |
| 59 | slot: "button-group-text", |
| 60 | }, |
| 61 | }); |
| 62 | } |
| 63 | |
| 64 | function ButtonGroupSeparator({ |
| 65 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected