5.0.1 • Published 2 years ago

custom-input-text-react v5.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

:gift: Custom Input Text React npm version

An Editable text input component for react.

Installation

Using NPM:

npm install custom-input-text-react

OR

Using Yarn:

yarn add custom-input-text-react

Usage

import {CustomTextInput} from "custom-input-text-react";

<CustomTextInput
         value="Click me to edit!"
         name="cool" 
         label="I am the label"
         onBlur={onBlur}
     />

Props

Prop NameTypeDefault valueDescription
valuestring' 'Value of the editable text
namestring''Name of the input element
labelstring''Label of the input element
classNamestring''Custom class name that can be added to the component
onBlurfunction() => voidCallback function when input onblur event is triggered
onChangefunction() => voidCallback function when input onchange event is triggered

:construction: Work in progress

5.0.1

2 years ago

5.0.0

2 years ago

1.0.1

2 years ago

4.0.0

2 years ago

3.0.0

2 years ago

2.0.2

2 years ago

2.0.0

2 years ago

1.1.0

2 years ago

1.0.2

2 years ago

1.0.0

2 years ago