Web: Components: ModalDialog, Paging - descriptions changed

This commit is contained in:
Sergei Kosyrev 2023-04-13 16:23:09 +05:30
parent c78dbd9135
commit 3843cd5206
2 changed files with 12 additions and 12 deletions

View File

@ -129,20 +129,20 @@ ModalDialog.propTypes = {
style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),
children: PropTypes.any,
/** Display dialog or not */
/** Sets the dialog to display */
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,
/** Display type */
/** Displays type */
displayType: PropTypes.oneOf(["modal", "aside"]),
/** Detailed display type for each dimension */
displayTypeDetailed: PropTypes.object,
/** Show loader in body */
/** Shows loader in body */
isLoading: PropTypes.bool,
/**The displayed dialog can be closed or not */
/** Sets the displayed dialog to be closed or open */
isCloseable: PropTypes.bool,
/** **`MODAL-ONLY`**
@ -172,7 +172,7 @@ ModalDialog.propTypes = {
/** **`ASIDE-ONLY`**
Gets bool to lock or unlock body scroll */
Enables body scroll */
isScrollLocked: PropTypes.bool,
/** **`ASIDE-ONLY`**

View File

@ -91,17 +91,17 @@ const Paging = (props) => {
};
Paging.propTypes = {
/** Label for previous button */
/** Label for the previous button */
previousLabel: PropTypes.string,
/** Label for next button */
/** Label for the next button */
nextLabel: PropTypes.string,
/** Action for previous button */
/** Action for the previous button */
previousAction: PropTypes.func,
/** Action for next button */
/** Action for the next button */
nextAction: PropTypes.func,
/** Set previous button disabled */
/** Sets previous button disabled */
disablePrevious: PropTypes.bool,
/** Set next button disabled */
/** Sets the next button disabled */
disableNext: PropTypes.bool,
disableHover: PropTypes.bool,
/** Initial value for pageItems */