This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

custom-input-text-react
TypeScript icon, indicating that this package has built-in type declarations

5.0.1 • Public • Published

🎁 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 Name Type Default value Description
value string ' ' Value of the editable text
name string '' Name of the input element
label string '' Label of the input element
className string '' Custom class name that can be added to the component
onBlur function () => void Callback function when input onblur event is triggered
onChange function () => void Callback function when input onchange event is triggered

🚧 Work in progress

Readme

Keywords

none

Package Sidebar

Install

npm i custom-input-text-react

Weekly Downloads

60

Version

5.0.1

License

ISC

Unpacked Size

8.24 kB

Total Files

7

Last publish

Collaborators

  • farsab