From f826f74ec99b9f5670df1877ba2faa0d6dc63450 Mon Sep 17 00:00:00 2001 From: Devmaleeq <107401427+Devmaleeq@users.noreply.github.com> Date: Sat, 4 Mar 2023 13:57:15 +0100 Subject: [PATCH] Updated ConfirmationCodeInput inputComponent is not a function rather it is an element type based on propTypes in react --- components/ConfirmationCodeInput.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/ConfirmationCodeInput.js b/components/ConfirmationCodeInput.js index 17a707d..b8fc8ae 100644 --- a/components/ConfirmationCodeInput.js +++ b/components/ConfirmationCodeInput.js @@ -67,7 +67,7 @@ export default class ConfirmationCodeInput extends Component { codeInputStyle: TextInput.propTypes.style, containerStyle: ViewPropTypes.style, onFulfill: PropTypes.func, - inputComponent: PropTypes.func, + inputComponent: PropTypes.elementType, keyboardType: TextInput.propTypes.keyboardType, } @@ -201,4 +201,4 @@ const styles = StyleSheet.create({ padding: 0, }, }) - \ No newline at end of file +