# prompted

> WIP prompt component

Latest version **0.0.0** (published 2017-10-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install prompted
pnpm add prompted
yarn add prompted
bun add prompted
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.0 |
| Published | 2017-10-04 |
| First published | 2017-10-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Michael Chan |
| Maintainers | chantastic |

## Links

- npm: https://www.npmjs.com/package/prompted
- Repository: https://github.com/learnreact/prompted
- Issues: https://github.com/learnreact/prompted/issues
- npm.io page: https://npm.io/package/prompted

## Dependencies (1)

- [react](https://npm.io/package/react.md) ^15.6.1

## Recent versions

- 0.0.0 (latest) — 2017-10-04

## README

# prompted
A React component interface to LocalStorage

## Example
This is a no frills example of using `prompted` for a user name.
```js
  <LocalStorageProvider
    item="name"
    render={(name = "Guest", update) => (
      <h1>Hi {name}!</h1>
      <input
        onChange={e => update(e.target.value)}
        type="text"
      />
    )}
  />
```

## Installation
### Node
```npm i prompted --save```
or
```yarn add prompted```

### Browser
Exports `Prompted` on `window`.

```js
<script
  crossorigin
  src="https://unpkg.com/prompted"
></script>
```

## Code Quality
[Learn React](#https://learnreact.com) open source, is intended for education.
Source should be singularly focus and readable above all.

## License
MIT License
Copyright &copy; Michael Chan 2017

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