Function
InputGroupButton
({
className,
type = "button",
variant = "ghost",
size = "xs",
...props
}: Omit<React.ComponentProps<typeof Button>, "size" | "type"> &
VariantProps<typeof inputGroupButtonVariants> & {
type?: "button" | "submit" | "reset";
})
Source from the content-addressed store, hash-verified
| 83 | ); |
| 84 | |
| 85 | function InputGroupButton({ |
| 86 | className, |
| 87 | type = "button", |
| 88 | variant = "ghost", |
| 89 | size = "xs", |
| 90 | ...props |
| 91 | }: Omit<React.ComponentProps<typeof Button>, "size" | "type"> & |
| 92 | VariantProps<typeof inputGroupButtonVariants> & { |
| 93 | type?: "button" | "submit" | "reset"; |
| 94 | }) { |
| 95 | return ( |
| 96 | <Button |
| 97 | type={type} |
| 98 | data-size={size} |
| 99 | variant={variant} |
| 100 | className={cn(inputGroupButtonVariants({ size }), className)} |
| 101 | {...props} |
| 102 | /> |
| 103 | ); |
| 104 | } |
| 105 | |
| 106 | function InputGroupText({ className, ...props }: React.ComponentProps<"span">) { |
| 107 | return ( |
Callers
nothing calls this directly
Tested by
no test coverage detected