MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / InputGroupButton

Function InputGroupButton

packages/react/src/components/input-group.tsx:92–109  ·  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

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

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected