Add jsdocs, apply manual formatting

https://github.com/jitsi/jitsi-meet/pull/1397 (React Toolbar) is huge at
the time of this writing. In order to reduce it, I'm extracting changes
not directly related to React-ifying the Toolbar such as added jsdocs
and source code formatting.
This commit is contained in:
Ilya Daynatovich
2017-03-31 12:54:58 -05:00
committed by Lyubo Marinov
parent e8de8735e2
commit 74b5638d99
6 changed files with 75 additions and 34 deletions

View File

@@ -21,12 +21,24 @@ export default class AbstractToolbarButton extends Component {
* The style of the Icon of this AbstractToolbarButton.
*/
iconStyle: React.PropTypes.object,
/**
* On click handler.
*/
onClick: React.PropTypes.func,
/**
* Toolbar button styles.
*/
style:
React.PropTypes.oneOfType([
React.PropTypes.array,
React.PropTypes.object
]),
/**
* The color underlaying the button.
*/
underlayColor: React.PropTypes.any
}