Some docs

This commit is contained in:
Chi Vinh Le
2017-08-25 21:22:48 +07:00
parent 42951aaf0b
commit e3227322a5
3 changed files with 22 additions and 0 deletions
@@ -19,7 +19,13 @@ export default class SortOption extends React.Component {
}
SortOption.propTypes = {
// A simple callback to be called when clicking on this sort option.
setSort: PropTypes.func.isRequired,
// Whether or not this sort option is active.
active: PropTypes.bool.isRequired,
// Label to show next to the input control.
label: PropTypes.string.isRequired,
};