UNPKG

@youwen/ai-design-system

Version:

Enterprise AI-driven design system with comprehensive design tokens

12 lines (11 loc) 661 B
import * as React from "react"; import { type VariantProps } from "class-variance-authority"; declare const inputVariants: (props?: ({ variant?: "default" | "success" | "error" | null | undefined; size?: "default" | "sm" | "lg" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> { variant?: "default" | "error" | "success" | null | undefined; } declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>; export { Input, inputVariants };