nuke-search-bar
v2.3.12
Published
搜索框
Downloads
46
Readme
SearchBar
- category: UI
- chinese: UI组件
- type: UI Component
Design
SearchBar
is a combination of Input
and Button
, which is often used as the search box at the top of the screen.
API
| Parameters | Description | Type | Default |
| ---------------- | ------------------------------------------------------ | ----------- | --------- |
| showSearchButton | whether display search buttons | boolean | true |
| value | default value | String | null |
| placeholder | placeholder | String | null |
| onChange | Triggered when user input | Function |
| onSearch | Triggered when the user clicks the search button | Function | false |
| style | style | styleObject | null |
| placeholderColor | color of the placeholder
, note the lower case of h
| string | '#cccccc' |
| inputStyle | Search area style | styleObject | {} |
| centered | placeholder whether is centered | boolean | false |
The Other
- Chat with @翊晨[yichen] in Dingtalk desktop App Download
- DingTalk Group