nextuiq
Version:
NextUIQ is a modern, lightweight, and developer-friendly UI component library for React and Next.js. Built with TypeScript and Tailwind CSS, it offers customizable, accessible, and performance-optimized components with built-in dark mode, theme customizat
15 lines (14 loc) • 578 B
TypeScript
import { InputHTMLAttributes } from 'react';
export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'value'> {
type?: "text" | "number" | "email" | "password" | "date" | "time" | string;
value?: string | number;
success?: boolean;
error?: boolean;
hint?: string;
label?: string;
required?: boolean;
"aria-label"?: string;
"aria-describedby"?: string;
}
export declare const Input: import('react').ForwardRefExoticComponent<InputProps & import('react').RefAttributes<HTMLInputElement>>;
export default Input;