Non-Permeable Membrane
Need private packages and team management tools?Check out npm Orgs. »

textbox-placeholder

1.1.1 • Public • Published

textbox-placeholder

npm (scoped) npm (scoped)

Textbox component with placeholder to value for React

image
image

Why should I use it?

Use it and placeholder be your default value for your textbox! Also now you can use it for textarea.

Install

$ npm install textbox-placeholder

Usage

for Textbox

import TextBoxPlaceholder from 'textbox-placeholder'
 
<TextBoxPlaceholder
    component="TextBox"
    name="text-box"
    inputClass={className}
    value={value}
    placeholder={placeholder} />

for Textarea

import TextareaPlaceholder from 'textbox-placeholder'
 
<TextareaPlaceholder
    component="Textarea"
    name="textarea"
    inputClass={className}
    value={value}
    placeholder={placeholder} />

Install

npm i textbox-placeholder

DownloadsWeekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

16.4 kB

Total Files

9

Last publish

Collaborators

  • avatar