react-native-floating-label-input icon indicating copy to clipboard operation
react-native-floating-label-input copied to clipboard

How to change input mode from outline into no border?

Open muslimmuda15 opened this issue 2 years ago • 3 comments

image

Just like the image, I have no any clue from documentation about how to change it

muslimmuda15 avatar May 04 '23 15:05 muslimmuda15

it can be like hot fix, if you find better approach I would be happy to see a solution

        value={value}
        isFocused={isFocused}
        onFocus={onFocus}
        onBlur={onBlur}
        onChangeText={onChangeText}
        containerStyles={styles.containerStyles}
        inputStyles={styles.inputStyles}
        labelStyles={styles.labelStyles}
        customLabelStyles={styles.customLabelStyles}
        rightComponent={
          isPresent(value) ? (
            <S.RightSideButtons>
              <TouchableOpacity onPress={onClearHandler}>
                <Icon width="24" height="24" name="clear" />
              </TouchableOpacity>
            </S.RightSideButtons>
          ) : undefined
        }
        {...props}
        label={getTranslation(label) as string}
      />
        borderBottomWidth: 1,
        borderBottomColor: theme.colors.strokeGrey,
        backgroundColor: '#00000000',
        paddingTop: 10,
        marginBottom: 24,
        ...(containerStyles && containerStyles),
      },
      inputStyles: {
        fontSize: 20,
        fontWeight: '600',
        fontFamily: FONTS.INTER_REGULAR,
      },
      labelStyles: {
        fontWeight: '400',
        fontFamily: FONTS.INTER_REGULAR,
      },
      customLabelStyles: {
        topFocused: -20,
        leftBlurred: 1,
        colorBlurred: theme.colors.normalBlack,
        colorFocused: theme.colors.activeBlack,
      },

TaranVitalii avatar Aug 10 '23 13:08 TaranVitalii

Any other solution ?

mathan26 avatar Mar 16 '24 15:03 mathan26

Required feature

type = "float" or "outlined"

Jamal-ReachFirst avatar May 31 '24 07:05 Jamal-ReachFirst