kill a process on Ubuntu
sudo kill -9 $(sudo lsof -t -i:9001)
kill a process on Ubuntu
sudo kill -9 $(sudo lsof -t -i:9001)
multiline textinput in react native
<TextInput
style={styles.postInput}
onChangeText={text=> setInput({...input, body:text})}
multiline={true}
numberOfLines={3}
placeholder="Write On the Wall"
underlineColorAndroid='transparent'
require={true}
/>
const styles = StyleSheet.create({
postInput: {
fontSize: 24,
borderColor:'#42435b',
borderWidth:1,
margin:10,
fontFamily: "Outrun future"
}})
react native input
import React, { Component } from 'react';
import { TextInput } from 'react-native';
export default function UselessTextInput() {
const [value, onChangeText] = React.useState('Useless Placeholder');
return (
<TextInput
style={{ height: 40, borderColor: 'gray', borderWidth: 1 }}
onChangeText={text => onChangeText(text)}
value={value}
/>
);
}
textinput multiline start from top react native
Style prop: (React native TextInput)
textAlignVertical: 'top';
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us