UNPKG

hair-ui

Version:

A Minimalist Component Library For React.

11 lines (10 loc) 387 B
import React from "react"; export interface InputProps { type?: "text" | "password"; isClean?: boolean; disabled?: boolean; placeholder?: string; style?: React.CSSProperties; onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void; } export declare function Input({ type, disabled, isClean, placeholder, style, onChange, ...props }: InputProps): JSX.Element;