search-list-react
v1.1.0
Published
a searched list
Downloads
6
Readme
- 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