1.0.3 • Published 5 years ago
react-input-label v1.0.3
react-input-label
Source code for the react-input-label npm component
Installation:
npm
npm i react-input-label
yarn
yarn add react-input-label
Import:
import { InputLabel } from "react-input-label";
Props:
{
// The initial value to be displayed within the label/input
initialValue: string;
// The placeholder text for when the input is toggled
placeholder: string;
// The class name for the input component
inputClassName: string;
// The class name for the label component
labelClassName: string;
// Event/method that will be fired once the input text changes
onChange: void;
// Event/method that will be fired once the input component loses focus
onBlur: void;
}