Skip to content

Commit

Permalink
docs(Search): add method jsdoc params
Browse files Browse the repository at this point in the history
  • Loading branch information
tao1991123 committed Dec 10, 2018
1 parent 181517c commit c089ca2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/search/Search.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@ class Search extends React.Component {
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
/**
* 输入关键字时的回掉
* @param {Object} 输入值
*/
onChange: PropTypes.func,
/**
* 点击搜索按钮触发的回调
* @param {Object} 输入值
*/
onSearch: PropTypes.func,
/**
Expand All @@ -64,6 +66,7 @@ class Search extends React.Component {
filterValue: PropTypes.string,
/**
* 选择器发生变化时回调
* @param {Object} filter value
*/
onFilterChange: PropTypes.func,
/**
Expand Down

0 comments on commit c089ca2

Please sign in to comment.