Closed lightSoulDev closed 1 year ago
component type already extends TextInputProps from react-native that have to provide autoFocus prop :
TextInputProps
autoFocus
export interface Props extends BaseProps, OmitStyle<TextInputProps> {...} // ------- import { CodeField } from 'react-native-confirmation-code-field'; <CodeField autoFocus={true} /> // <- should work as expected
Oh, sure. Maybe my lsp was freaking out. Thanks.
component type already extends
TextInputProps
from react-native that have to provideautoFocus
prop :