Socket
Socket
Sign inDemoInstall

@nylas/components-contacts-search

Package Overview
Dependencies
0
Maintainers
9
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nylas/components-contacts-search

> This document is still work in progress!


Version published
Weekly downloads
41
increased by355.56%
Maintainers
9
Install size
104 kB
Created
Weekly downloads
 

Readme

Source

Composer

This document is still work in progress!

Contacts autocomplete component is used for finding contacts.

Installation

You can use composer in two ways:

  • via CDN
  • install using yarn

Props

Component accepts next props:

Data:

  • id
  • change
  • contacts - can be an array of contacts or an API function call
  • value - initial selected contacts can have contacts not in contacts prop
  • placeholder - input placeholder
  • single - if true user can select only one contact
  • theme

Contacts structure example

[
  {
    "email": "example@nylas.com",
    "name": "John" // Not required
    ...args
  }
]

Styling

  • Composer can be styled by choosing theme or
  • Providing a stylesheet with css variables

FAQs

Last updated on 03 Dec 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc