UNPKG

pocko-ui

Version:

React components using pure Bootstrap 5+ which does not contain any external style and script libraries.

34 lines (33 loc) 1.04 kB
import React from "react"; import "./Index.scss"; interface InputProps { id?: string; name?: string; inputRef?: any; size?: string | number; label?: string | React.ReactNode; labelClassName?: string; wrapperClassName?: string; controlGroupWrapperClassName?: string; controlGroupTextClassName?: string; iconLeft?: React.ReactNode | string; iconRight?: React.ReactNode | string; controlClassName?: string; type?: React.HTMLInputTypeAttribute; disabled?: any; readonly?: any; required?: any; requiredLabel?: string | any; defaultValue?: string | any; placeholder?: string; autoComplete?: "on" | "off"; min?: number | string; max?: number | string; step?: number | string; onChange?: (value: string) => void; onBlur?: () => void; onFocus?: () => void; onPressEnter?: Function | any; } declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<unknown>>; export default Input;