Skip to main content

MaskedInput

Mask Input to create custom looking inputs with custom formats
(code example)

info

This component extends TextInput props.

Usage#

<MaskedInput ref={inputRef} renderMaskedText={<Text text80 grey60>{value}$</Text>}/>

API#

containerStyle#

container style for the masked input container
ViewStyle

renderMaskedText#

callback for rendering the custom input out of the value returns from the actual input
React.ReactElement