'How to remove the Done Bar above the number-pad in React Native?

How can I remove this bar from the Keyboard? Everywhere I looked I can't seem to find the answer. There's people trying to make it show but not to hide.

Any help will be highly appreciated.

enter image description here

Current code:

<CustomInput
    keyboardType="number-pad"
    value={confirmationCode}
    onChangeText={(value) => setConfirmationCode(value)}
    placeholder={"••••••"}
    hidePlaceholder={true}
    maxLength={6}
    styleInput={styles.confirmationCodeStyleInput}
    autoFocusKeyboard={true}
    blurOnSubmit={false}
/>

Thanks



Solution 1:[1]

try with returnKeyType='none', it should work

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 mainak