You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

autocomplete-textfield

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autocomplete-textfield

Autocomplete package

1.0.0
latest
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Installation

If you want to use the library in browser: npm install autocomplete-textfield

Then import it into your javascript code:

import autocomplete from 'autocomplete-textfield';
// or
var autocomplete = require('autocomplete-textfield');

Props

You can pass JSON data like below:

const countries = [
  { code: "IN", label: "India", phone: "91" },
  { code: "NZ", label: "New Zealand", phone: "64" },
  { code: "ES", label: "Spain", phone: "34" },
  { code: "US", label: "United States", phone: "1"},
 ];

Keywords

react

FAQs

Package last updated on 23 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts