1.26.0 • Published 10 months ago

newinputnabc v1.26.0

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

newinputnabc

A reusable input component for your JavaScript applications.

Installation

You can install the newinputnabc package using npm:

Usage

To use the newinputnabc component in your application, import it and include it in your JSX code:

import React from 'react';
import {Input} from 'newinputnabc';

const App = () => {
  return (
    <div>
      <Input
        type="text"
        placeholder="Enter your name"
        onChange={(e) => console.log('Input value:', e.target.value)}
      />
    </div>
  );
};

export default App;

# PROPS
The my-input component accepts the following props:
Prop	Type	Description
## Props
The `my-input` component accepts the following props:

## Props

The `my-input` component accepts the following props:

| Prop           | Type       | Description                                |
|----------------|------------|--------------------------------------------|
| `type`         | string     | Specifies the type of input (e.g., text, email, password). |
| `placeholder`  | string     | Placeholder text for the input field.       |
| `value`        | any        | The value of the input field.               |
| `onChange`     | function   | Callback function to be executed when the input value changes. |
| `disabled`     | boolean    | Determines whether the input is disabled or not. |


Examples
You can find more usage examples in the examples directory.

Contributing
Contributions are welcome! If you find any issues or want to add new features, please submit a pull request.

Before contributing, please read our contributing guidelines.

License
This project is licensed under the MIT License. See the LICENSE file for details.

Feel free to customize the content according to your project's requirements and specifications.

Keywords: input, form, component, JavaScript, React, reusable, UI, user interface, text input, form field, input field, validation, onChange, placeholder, value, disabled, npm, package, library

1.26.0

10 months ago

1.25.0

10 months ago

1.24.0

10 months ago

1.23.0

10 months ago

1.22.0

10 months ago

1.21.0

10 months ago

1.20.0

10 months ago

1.18.0

10 months ago

1.15.0

10 months ago

1.14.0

10 months ago

1.13.0

10 months ago

1.12.0

10 months ago

1.11.0

10 months ago

1.10.0

10 months ago

1.9.0

10 months ago

1.6.0

10 months ago

1.5.0

10 months ago

1.4.0

10 months ago

1.3.0

10 months ago

1.2.0

10 months ago

1.1.0

10 months ago

1.0.0

10 months ago