Answers for "textinput mreact native"

7

Address already in use - bind(2) for "127.0.0.1" port 3000 (Errno::EADDRINUSE)

lsof -wni tcp:3000 
kill -9 PID_number
Posted by: Guest on March-20-2020
0

listen tcp 127.0.0.1:8001: bind: address already in use

$ ps aux | grep kubectl
$ kill -9 process_number_here
Posted by: Guest on May-28-2021
13

react native textinput

import React, { Component } from 'react';
import { TextInput } from 'react-native';

export default function UselessTextInput() {
  const [textInputValue, setTextInputValue] = React.useState('');

  return (
    <TextInput
      style={{ 
    	height: 40, 
    	borderColor: 'gray', 
    	borderWidth: 1,
    	placeholderTextColor: 'gray',
    }}
      onChangeText={text => setTextInputValue(text)}
      value={textInputValue}
	  placeholder="Insert your text!"
    />
  );
}
Posted by: Guest on May-02-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language