UNPKG

ivt

Version:

Ivt Components Library

31 lines (27 loc) 2.25 kB
import * as class_variance_authority_types from 'class-variance-authority/types'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { VariantProps } from 'class-variance-authority'; import * as React from 'react'; declare const buttonVariants: (props?: ({ variant?: "default" | "destructive" | "outline" | "secondary" | "selection" | "upload" | "ghost" | "link" | "table" | null | undefined; size?: "default" | "sm" | "icon-sm" | "lg" | "icon" | "normal" | "icon-lg" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> { asChild?: boolean; isAction?: boolean; subtle?: boolean; } declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>; declare function InputGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element; declare const inputGroupAddonVariants: (props?: ({ align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime.JSX.Element; declare const inputGroupButtonVariants: (props?: ({ size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime.JSX.Element; declare function InputGroupText({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element; declare function InputGroupInput({ className, ...props }: React.ComponentProps<"input">): react_jsx_runtime.JSX.Element; declare function InputGroupTextarea({ className, ...props }: React.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element; export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea };