# react-md-input

> React Component Material Design Input

Latest version **0.0.2** (published 2017-10-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-md-input
pnpm add react-md-input
yarn add react-md-input
bun add react-md-input
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2017-10-07 |
| First published | 2017-10-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Paulo McNally |
| Maintainers | paulomcnally |

## Links

- npm: https://www.npmjs.com/package/react-md-input
- Repository: https://github.com/mcnallydev/react-md-input
- Homepage: https://github.com/mcnallydev/react-md-input#readme
- Issues: https://github.com/mcnallydev/react-md-input/issues
- npm.io page: https://npm.io/package/react-md-input

## Dependencies (4)

- [react](https://npm.io/package/react.md) ^16.0.0
- [react-dom](https://npm.io/package/react-dom.md) ^16.0.0
- [prop-types](https://npm.io/package/prop-types.md) ^15.6.0
- [styled-components](https://npm.io/package/styled-components.md) ^2.2.0

## Recent versions

- 0.0.2 (latest) — 2017-10-07
- 0.0.1 — 2017-10-07

## README

# react-md-input

React Component Material Design Input.

## Installation

    $ yarn add react-md-input

## Example
```javascript
import Input from 'react-md-input';

onChange(event) {
  this.setState({
    name: event.target.value,
  });
}

<Input
  label="Name"
  type="text"
  value={this.state.name}
  onChange={ (e) => this.onChange(e) }
/>
```

## Props

Name | Description | Default/Required | Type
------|-------------|----------|-----------
error | To show error message. | optional | string
label | To show label. | required | string
type | Input type attribute. | optional | string
value | Input value attribute. | required | string
pattern | Input value validation. | optional | string

## Patterns

* patternDecimal
* patternInteger
* patternNumber

---
_Source: https://npm.io/package/react-md-input · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
