Relative Content

Tag Archive for reactjsreact-nativereact-native-text

Displaying in black in Text component in the react native

if (isDescriptionText) { return ( <> <TextInput multiline placeholderTextColor={theme.secondary} placeholder=”Write something…” value={description} onChangeText={handleChange} onContentSizeChange={(event) => { setInputHeight(event.nativeEvent.contentSize.height + 57); }} style={styles.input} onFocus={handleFocus} onBlur={handleBlur} {…testProps} /> <Text>{description}</Text> </> ); In textInput Component emoji is displaying normally and in Text Component it trun to black reactjs react-native react-native-text 1

Displaying in black in Text component in the react native

if (isDescriptionText) { return ( <> <TextInput multiline placeholderTextColor={theme.secondary} placeholder=”Write something…” value={description} onChangeText={handleChange} onContentSizeChange={(event) => { setInputHeight(event.nativeEvent.contentSize.height + 57); }} style={styles.input} onFocus={handleFocus} onBlur={handleBlur} {…testProps} /> <Text>{description}</Text> </> ); In textInput Component emoji is displaying normally and in Text Component it trun to black reactjs react-native react-native-text