https://github.com/chantastic/react-prompt
WIP
https://github.com/chantastic/react-prompt
Last synced: 2 months ago
JSON representation
WIP
- Host: GitHub
- URL: https://github.com/chantastic/react-prompt
- Owner: chantastic
- License: mit
- Created: 2018-01-05T10:20:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-05T10:21:44.000Z (over 8 years ago)
- Last Synced: 2025-02-02T22:29:07.099Z (over 1 year ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# prompted
A React component interface to LocalStorage
## Example
This is a no frills example of using `prompted` for a user name.
```js
(
Hi {name}!
update(e.target.value)}
type="text"
/>
)}
/>
```
## Installation
### Node
```npm i prompted --save```
or
```yarn add prompted```
### Browser
Exports `Prompted` on `window`.
```js
```
## 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 © Michael Chan 2017