What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-25 08:40:06
min width react native
minHeight, maxHeight, minWidth and maxWidth properties are supported as of react-native version 0.29.0 for iOS and Android. Here is the maxHeight description from react-native documentation. This description also applies for other min/max style propertie... Add solution -
Javascript 2021-09-24 11:53:04
clear textinput react native
"CLEAR TEXT FROM INPUT FIELD IN REACT NATIVE, WHEN CLICK SUBMIT BUTTON" const [textInput, setTextInput] = useState() //this state always holds the text const submitHandler = () => { //runs on submit and sets the state to nothing. setTex... Add solution -
Javascript 2021-09-10 22:33:02
styles in react native
//Import import { StyleSheet} from 'react-native'; //Add style in React native component this way <View style={styles.container}> </View> //create your style this way const styles = StyleSheet.create({ container: { marginTop: 50, }... Add solution