1.0.14 • Published 5 years ago

cahcnc91-autocomplete v1.0.14

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Autocomplete Component

Installation

Run npm install --save cahcnc91-autocomplete

Usage

Provide a options array, each item should be an object with a label property.

import React, { Component } from "react";
import Autocomplete from "cahcnc91-autocomplete";

const languages = [
    {
      id: 1,
      label: "C"
    },
    {
      id: 2,
      label: "C#"
    },
    {
        id: 3,
        label: "JavaScript"
    }
  ];

class Example extends Component {
  render() {
    return (
      <Autocomplete options={languages}/>
    );
  }
}
1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago