Function
GroupText
({
className,
render,
...props
}: useRender.ComponentProps<"div">)
Source from the content-addressed store, hash-verified
| 47 | } |
| 48 | |
| 49 | function GroupText({ |
| 50 | className, |
| 51 | render, |
| 52 | ...props |
| 53 | }: useRender.ComponentProps<"div">) { |
| 54 | const defaultProps = { |
| 55 | className: cn( |
| 56 | "relative inline-flex items-center whitespace-nowrap rounded-lg border border-border bg-muted bg-clip-padding px-[calc(--spacing(3)-1px)] text-muted-foreground text-base sm:text-sm shadow-xs outline-none transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] dark:bg-input/64 dark:before:shadow-[0_-1px_--theme(--color-white/8%)] [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 [&_svg]:-mx-0.5", |
| 57 | className, |
| 58 | ), |
| 59 | "data-slot": "group-text", |
| 60 | }; |
| 61 | return useRender({ |
| 62 | defaultTagName: "div", |
| 63 | props: mergeProps(defaultProps, props), |
| 64 | render, |
| 65 | }); |
| 66 | } |
| 67 | |
| 68 | function GroupSeparator({ |
| 69 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected