Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lendi-ui/auto-complete

Package Overview
Dependencies
Maintainers
31
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lendi-ui/auto-complete

A auto-complete component.

  • 2.0.2
  • npm
  • Socket score

Version published
Weekly downloads
703
decreased by-20.2%
Maintainers
31
Weekly downloads
 
Created
Source

@lendi-ui/auto-complete

A auto-complete component.

Installation

yarn add @lendi-ui/auto-complete

Usage

import {auto-complete} from '@lendi-ui/auto-complete';

<AutoComplete dataSource={(input) => Promise.resolve(['abc', 'asd'])}/>
<PropTable>
  <PropTable.Entry name="beforeIcon" type="React.ReactElement" description="Before icon for AutoComplete"/>
  <PropTable.Entry name="dataSource" required type="(input: string) => Promise.resolve([string]) | [string]" description="Datasource - It could resolve to a promise of a string array or just a string array"/>
  <PropTable.Entry name="isDisabled" type="boolean" description="Disable AutoComplete"/>
  <PropTable.Entry name="onSelect" type="(selectedItem: string)=> void" description="Selected item from the datasource"/>
  <PropTable.Entry name="placeholder" type="string" description="Placeholder for AutoComplete"/>
  <PropTable.Entry name="size" type={`"lg" | "md" | "sm"`} defaultValue='md' description="Size to AutoComplete"/>
</PropTable>

FAQs

Package last updated on 08 May 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc