React mask input component. Allow to input formatted values with fixed length or apply custom formatting function, to format values with any length