react native touchableopacity disable
<TouchableOpacity disabled={true}>
<Text>I'm disabled</Text>
</TouchableOpacity>
react native touchableopacity disable
<TouchableOpacity disabled={true}>
<Text>I'm disabled</Text>
</TouchableOpacity>
react native create button
import { Button } from 'react-native-elements';
import Icon from 'react-native-vector-icons/FontAwesome';
<View style={styles.buttonContainer}>
<Button title='update state' onPress={do something}/>
</View>
or
<Button
title="Solid Button"
/>
<Button
title="Outline button"
type="outline"
/>
<Button
title="Clear button"
type="clear"
/>
<Button
icon={
<Icon
name="arrow-right"
size={15}
color="white"
/>
}
title="Button with icon component"
/>
<Button
icon={{
name: "arrow-right",
size: 15,
color: "white"
}}
title="Button with icon object"
/>
<Button
icon={
<Icon
name="arrow-right"
size={15}
color="white"
/>
}
iconRight
title="Button with right icon"
/>
<Button
title="Loading button"
loading
/>
Source:
https://reactnativeelements.com/docs/button/
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