🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@blaze-react/autocomplete

Package Overview
Dependencies
Maintainers
7
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blaze-react/autocomplete

Autocomplete component allows users to quickly find and select one from suggested options.

0.8.0-alpha.78
npm
Version published
Weekly downloads
140
6.87%
Maintainers
7
Weekly downloads
 
Created
Source

Description

Autocomplete component allows users to quickly find and select one from suggested options.

Usage

const data = {
  keyValue: 'name',
  filterBy: ['name', 'description'],
  data: [
    {
      id: 1,
      name: 'Laravel',
      description: 'Lorem ipsum dolor.',
    },
    {
      id: 2,
      name: 'React',
      description: 'Aliquam tincidunt.',
    },
    {
      id: 3,
      name: 'Adonis',
      description: 'Vestibulum auctor.',
    },
  ],
};

<Autocomplete data={data} selected={(selected) => {}} />;

API

Autocomplete can receive a number of props as follow:
NAMETYPEDEFAULT
dataObject{}
placeholderString'Search'
onChangeFunction(value) => {}
childrensingle/array of nodesempty

FAQs

Package last updated on 29 Feb 2024

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