Web: Components: ModalDialog, Paging - descriptions changed
This commit is contained in:
parent
c78dbd9135
commit
3843cd5206
@ -129,20 +129,20 @@ ModalDialog.propTypes = {
|
|||||||
style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),
|
style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),
|
||||||
children: PropTypes.any,
|
children: PropTypes.any,
|
||||||
|
|
||||||
/** Display dialog or not */
|
/** Sets the dialog to display */
|
||||||
visible: PropTypes.bool,
|
visible: PropTypes.bool,
|
||||||
/** Will be triggered when a close button is clicked */
|
/** Sets a callback function that is triggered when the close button is clicked */
|
||||||
onClose: PropTypes.func,
|
onClose: PropTypes.func,
|
||||||
|
|
||||||
/** Display type */
|
/** Displays type */
|
||||||
displayType: PropTypes.oneOf(["modal", "aside"]),
|
displayType: PropTypes.oneOf(["modal", "aside"]),
|
||||||
/** Detailed display type for each dimension */
|
/** Detailed display type for each dimension */
|
||||||
displayTypeDetailed: PropTypes.object,
|
displayTypeDetailed: PropTypes.object,
|
||||||
|
|
||||||
/** Show loader in body */
|
/** Shows loader in body */
|
||||||
isLoading: PropTypes.bool,
|
isLoading: PropTypes.bool,
|
||||||
|
|
||||||
/**The displayed dialog can be closed or not */
|
/** Sets the displayed dialog to be closed or open */
|
||||||
isCloseable: PropTypes.bool,
|
isCloseable: PropTypes.bool,
|
||||||
|
|
||||||
/** **`MODAL-ONLY`**
|
/** **`MODAL-ONLY`**
|
||||||
@ -172,7 +172,7 @@ ModalDialog.propTypes = {
|
|||||||
|
|
||||||
/** **`ASIDE-ONLY`**
|
/** **`ASIDE-ONLY`**
|
||||||
|
|
||||||
Gets bool to lock or unlock body scroll */
|
Enables body scroll */
|
||||||
isScrollLocked: PropTypes.bool,
|
isScrollLocked: PropTypes.bool,
|
||||||
|
|
||||||
/** **`ASIDE-ONLY`**
|
/** **`ASIDE-ONLY`**
|
||||||
|
@ -91,17 +91,17 @@ const Paging = (props) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Paging.propTypes = {
|
Paging.propTypes = {
|
||||||
/** Label for previous button */
|
/** Label for the previous button */
|
||||||
previousLabel: PropTypes.string,
|
previousLabel: PropTypes.string,
|
||||||
/** Label for next button */
|
/** Label for the next button */
|
||||||
nextLabel: PropTypes.string,
|
nextLabel: PropTypes.string,
|
||||||
/** Action for previous button */
|
/** Action for the previous button */
|
||||||
previousAction: PropTypes.func,
|
previousAction: PropTypes.func,
|
||||||
/** Action for next button */
|
/** Action for the next button */
|
||||||
nextAction: PropTypes.func,
|
nextAction: PropTypes.func,
|
||||||
/** Set previous button disabled */
|
/** Sets previous button disabled */
|
||||||
disablePrevious: PropTypes.bool,
|
disablePrevious: PropTypes.bool,
|
||||||
/** Set next button disabled */
|
/** Sets the next button disabled */
|
||||||
disableNext: PropTypes.bool,
|
disableNext: PropTypes.bool,
|
||||||
disableHover: PropTypes.bool,
|
disableHover: PropTypes.bool,
|
||||||
/** Initial value for pageItems */
|
/** Initial value for pageItems */
|
||||||
|
Loading…
Reference in New Issue
Block a user