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]), 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`**

View File

@ -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 */