MCPcopy Create free account
hub / github.com/TheOrcDev/github-creature / InputGroupButton

Function InputGroupButton

components/ui/input-group.tsx:85–104  ·  view source on GitHub ↗
({
  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
85function 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
106function InputGroupText({ className, ...props }: React.ComponentProps<"span">) {
107 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected