search-list-react
a searched list
Last updated 3 months ago by zweizhao .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install search-list-react 
SYNC missed versions from official npm registry.
  • preview

preview

How to use

  • install

npm install --save-dev search-list-react style-loader css-loader

  • webpack.config.js
// add loader
{
	test: /\.css$/,
	loader: "style-loader!css-loader"
}
  • import

import SearchList from "search-list-react"

many or one more

  • use
<SearchList
	splitWord=':'
    show={this.state.searchListShow}
    infos={this.state.searchListInfos}
    />
  • params splitWord: 'a:b' & splitWord === ':' => 'a | b' show: show or hidden infos: array with strings
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dependencies (516)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |