I've been racking my brains for a while trying to update the input value to add a mask, but with no results the input doesn't update the value at all.
<Input
placeholder={'CNPJ'}
onChange={(e) => {
e.currentTarget.value = 'fdsfsd'
}}
ref={props.cnpj}/>
<input onChange={(e) => {
e.currentTarget.value = 'fdsfsd'
}}/>