Skip to content

Commit

Permalink
Merge pull request #3615 from theosherry/DropDownMenu_docs_callback
Browse files Browse the repository at this point in the history
[DropDownMenu] Add callback signatures to property docs
  • Loading branch information
oliviertassinari committed Mar 7, 2016
2 parents 59e3b77 + e0d1dec commit ebeb765
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/DropDownMenu/DropDownMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ const DropDownMenu = React.createClass({
menuStyle: React.PropTypes.object,

/**
* Fired when a menu item is clicked that is not the one currently selected.
* Callback function fired when a menu item is clicked, other than the one currently selected.
*
* @param {object} event TouchTap event targeting the menu item that was clicked.
* @param {number} key The index of the clicked menu item in the `children` collection.
* @param {any} payload The `value` prop of the clicked menu item.
*/
onChange: React.PropTypes.func,

Expand Down

0 comments on commit ebeb765

Please sign in to comment.