TextInput
A styled text input ready to be used containing all input attributes. It is responsible and has validations by default.
Props:
showsIcon
Description: Define if icons will be rendered. Type: Boolean.
inputStyle
Description: Input style. Type: CSS Properties.
inputClassName
Description: Input className. Type: String.
icon
Description: A space to render your own icon. Type: ReactNode.
Code
import { MdAirplay } from 'react-icons/md'; <TextInput showsIcon icon={<MdAirplay/>} />