MCPcopy Create free account
hub / github.com/MagicCube/agentara / InputGroupButton

Function InputGroupButton

web/src/components/ui/input-group.tsx:98–115  ·  view source on GitHub ↗
({
  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

96)
97
98function InputGroupButton({
99 className,
100 type = "button",
101 variant = "ghost",
102 size = "xs",
103 ...props
104}: Omit<React.ComponentProps<typeof Button>, "size"> &
105 VariantProps<typeof inputGroupButtonVariants>) {
106 return (
107 <Button
108 type={type}
109 data-size={size}
110 variant={variant}
111 className={cn(inputGroupButtonVariants({ size }), className)}
112 {...props}
113 />
114 )
115}
116
117function InputGroupText({ className, ...props }: React.ComponentProps<"span">) {
118 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected