New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-wd-ui

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-wd-ui

万读的react公共UI库

latest
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

react-wd-ui

万度定制开发的react开发中的UI组件

Installation

To install the stable version:

npm install react-wd-ui --save-dev

Usage

import AutoSuggest from 'react-wd-ui'
const suggestions = ['C', 'C++', 'Python', 'Java', 'Javascript', 'PHP'];
const handleSelect = (selection) => {
    console.log(`You selected ${selection}`);
};
<AutoSuggest suggestions={suggestions} onSelect={handleSelect} />

Options

props.suggestions {array}

需要前缀匹配,并展示出来的可能数据

props.onSelect{Function}

选择提示数据时触发的回调函数

Keywords

react

FAQs

Package last updated on 06 Mar 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