Web: Components: ViewSelector - added description
This commit is contained in:
parent
1be76494db
commit
bd7cd63901
@ -107,14 +107,16 @@ const ViewSelector = ({
|
||||
};
|
||||
|
||||
ViewSelector.propTypes = {
|
||||
/* Disables the button default functionality */
|
||||
/** Disables the button default functionality */
|
||||
isDisabled: PropTypes.bool,
|
||||
/* Sets a callback function that is triggered when the button is clicked */
|
||||
/** Sets a callback function that is triggered when the button is clicked */
|
||||
onChangeView: PropTypes.func,
|
||||
/* Object that contains the view settings */
|
||||
/** Array that contains the view settings */
|
||||
viewSettings: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||
/* Current application view */
|
||||
/** Current application view */
|
||||
viewAs: PropTypes.string.isRequired,
|
||||
/** Displays only available selector options */
|
||||
isFilter: PropTypes.bool,
|
||||
};
|
||||
|
||||
export default ViewSelector;
|
||||
|
Loading…
Reference in New Issue
Block a user