Function
InputGroupButton
({
className,
type = "button",
variant = "ghost",
size = "xs",
...props
}: Omit<React.ComponentProps<typeof Button>, "size"> &
VariantProps<typeof inputGroupButtonVariants>)
Source from the content-addressed store, hash-verified
| 98 | ) |
| 99 | |
| 100 | function InputGroupButton({ |
| 101 | className, |
| 102 | type = "button", |
| 103 | variant = "ghost", |
| 104 | size = "xs", |
| 105 | ...props |
| 106 | }: Omit<React.ComponentProps<typeof Button>, "size"> & |
| 107 | VariantProps<typeof inputGroupButtonVariants>) { |
| 108 | return ( |
| 109 | <Button |
| 110 | type={type} |
| 111 | data-size={size} |
| 112 | variant={variant} |
| 113 | className={cn(inputGroupButtonVariants({ size }), className)} |
| 114 | {...props} |
| 115 | /> |
| 116 | ) |
| 117 | } |
| 118 | |
| 119 | function InputGroupText({ className, ...props }: React.ComponentProps<"span">) { |
| 120 | return ( |
Callers
nothing calls this directly
Tested by
no test coverage detected