This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var DisabledList = React.createClass({ | |
// proptypes tell the parent widget what to pass into it | |
// the DropdownList will inspect propTypes and _.pick() those keys to pass in | |
propTypes: { | |
disabledItems: React.PropTypes.array, | |
...List.type.propTypes, | |
}, | |
componentWillMount(){ |