https://github.com/react-melon/melon-autocomplete
react autocomplete textbox
https://github.com/react-melon/melon-autocomplete
autocomplete component input melon react textbox
Last synced: 14 days ago
JSON representation
react autocomplete textbox
- Host: GitHub
- URL: https://github.com/react-melon/melon-autocomplete
- Owner: react-melon
- Created: 2017-03-01T03:59:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-14T09:00:32.000Z (about 9 years ago)
- Last Synced: 2025-02-12T01:40:39.302Z (over 1 year ago)
- Topics: autocomplete, component, input, melon, react, textbox
- Language: JavaScript
- Size: 26.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# melon-autocomplete
[](https://travis-ci.org/react-melon/melon-autocomplete)
[](https://coveralls.io/github/react-melon/melon-autocomplete?branch=master)
## Usage
```js
import React from 'react';
import AutoComplete from 'melon-autocomplete';
import ReactDOM from 'react-dom';
import './index.styl';
ReactDOM.render(
,
document.getElementById('app')
);
```
## Setup
### webpack
1. please check out [this](https://github.com/react-melon/melon#如何在-webpack-中使用-melon) first.
2. `npm install -S melon-autocomplete`
### bower
1. `bower install -S melon-autocomplete`
2. config your `requirejs` / `esl`
```js
require.config({
paths: {
'melon-autocomplete': 'bower_components/melon-autocomplete/lib/index'
}
});
```
## API Document
check [this](https://doc.esdoc.org/github.com/react-melon/melon-autocomplete/) out
## Run the example
```sh
git clone https://github.com/react-melon/melon-autocomplete.git
cd melon-autocomplete
npm install
npm start
open http://localhost:8080/example
```