MCPcopy Create free account
hub / github.com/sourcebot-dev/sourcebot / InputGroupButton

Function InputGroupButton

packages/web/src/components/ui/input-group.tsx:100–117  ·  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

98)
99
100function 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
119function InputGroupText({ className, ...props }: React.ComponentProps<"span">) {
120 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected