An optional icon to show. This could be used to provide an indication of what kind of input is expected, like an email icon, or what the input will be used for, like a search icon.
Describes the structure of the mask. If a regexp is provided, it should allow both the final full string element as well as partial strings as the user types characters one by one. When using regexp to match number values make sure that the option values are numbers as well.
[ { length: [1, 2], regexp: /^1[1-2]$|^[0-9]$/, placeholder: 'hh', }, { fixed: ':', }, ... ]
Any additional style for the container surrounding the input and, if present, icon.
"any CSS"
(props) => {}
{
"size": "18px",
"height": "24px",
"maxWidth": "432px"
}
The font-weight of the text. This value will only be applied if global.input.weight is undefined.
600
This value has been deprecated and replaced by global.input.font.weight.