Web: Components: InputBlock - added description

This commit is contained in:
DmitrySychugov 2023-04-19 16:11:26 +05:00
parent 191346cbff
commit d3aa78c2c7
2 changed files with 8 additions and 6 deletions

View File

@ -167,6 +167,7 @@ InputBlock.propTypes = {
tabIndex: PropTypes.number,
/** input text mask */
mask: PropTypes.oneOfType([PropTypes.array, PropTypes.func]),
/** Allows to add or delete characters without changing the positions of the existing characters.*/
keepCharPositions: PropTypes.bool,
/** Supported size of the input fields. */
size: PropTypes.oneOf(["base", "middle", "big", "huge", "large"]),
@ -213,6 +214,7 @@ InputBlock.propTypes = {
className: PropTypes.string,
/** Accepts css style */
style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),
/** Sets the classNaame of the icon button */
iconButtonClassName: PropTypes.string,
};

View File

@ -15,12 +15,12 @@ export default {
onBlur: { action: "onBlur" },
onFocus: { action: "onFocus" },
onIconClick: { action: "onIconClick" },
optionsMultiSelect: {
control: {
type: "multi-select",
options: ["button", "icon"],
},
},
// optionsMultiSelect: {
// control: {
// type: "multi-select",
// options: ["button", "icon"],
// },
// },
},
};