3.0.2 • Published 9 years ago
apeman-react-search v3.0.2
apeman-react-search
apeman react package for search components.
Installation
$ npm install apeman-react-search --saveDemo
Live demo is hosted on GitHub Pages.
Usage
'use strict'
import React from 'react'
import {ApSearch, ApSearchStyle} from 'apeman-react-search'
const ExampleComponent = React.createClass({
render () {
return (
<div>
<ApSearchStyle />
<ApSearch/>
</div>
)
}
})Components
ApSearchStyle
Props
| Name | Type | Default | Description | |
|---|---|---|---|---|
| style | object | {} | ||
| highlightColor | string | ApStyle.DEFAULT_HIGHLIGHT_COLOR | ||
| maxWidth | ApStyle.CONTENT_WIDTH | |||
| transition | 400 |
ApSearch
Props
| Name | Type | Default | Description | |
|---|---|---|---|---|
| name | string | '' | Name of search input | |
| type | string | 'text' | Type of search input | |
| value | string | '' | Value of search input | |
| placeholder | string | '' | Placeholder of search input | |
| clearIcon | string | 'ion ion-close-round' | Icon class name of clear button | |
| searchIcon | string | 'ion ion-search' | Icon class name of search button | |
| onClear | func | null | Handler for clear event | |
| open | bool | false | Open to input | |
| righted | bool | false | Render with righted style |
License
This software is released under the MIT License.
Links
3.0.2
9 years ago
3.0.1
9 years ago
3.0.0
9 years ago
2.0.7
9 years ago
2.0.6
9 years ago
2.0.5
9 years ago
2.0.4
10 years ago
2.0.3
10 years ago
2.0.2
10 years ago
2.0.1
10 years ago
2.0.0
10 years ago
1.0.7
10 years ago
1.0.6
10 years ago
1.0.4
10 years ago
1.0.3
10 years ago
1.0.2
10 years ago
1.0.1
10 years ago
1.0.0
10 years ago
