autoFocus
property default was but now is true
false
It's bad idea:
"This component uses the same props as . Below are additional props for this component:"
Now use new property inputProps
, example:
const TextInputPropsObject = {
returnKeyType: 'done',
};
<CodeInput
inputProps={TextInputPropsObject}
// ...
/>;
onFulfill = (code:string) => void
used to be so:
onFulfill = (isValid: boolean, code:string) => void
Deprecated Prop | Description |
---|---|
codeInputStyle |
Use cellProps to set custom style, example |
containerStyle |
Use containerProps to set style, example |
ignoreCaseWhenCompareCode and compareWithCode |
Not supported, use own implementation onFulfill to validate code |
className |
Renamed, use variant |