Add button pay now on the Other Method screen
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
import {ScrollView, StatusBar, View} from 'react-native';
|
import {ScrollView, StatusBar, View} from 'react-native';
|
||||||
import {Text} from 'react-native-paper';
|
import {Text, Button} from 'react-native-paper';
|
||||||
import styles from './styles';
|
import styles from './styles';
|
||||||
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
|
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
|
||||||
import Colors from '../../../assets/styles/Colors';
|
import Colors from '../../../assets/styles/Colors';
|
||||||
@ -200,6 +200,9 @@ function OtherMethodScreen() {
|
|||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
<Button mode="contained" style={styles.buttonPayNow} onPress={() => {}}>
|
||||||
|
Bayar Sekarang
|
||||||
|
</Button>
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -72,6 +72,11 @@ const styles = StyleSheet.create({
|
|||||||
paymentMethodOptionDataWrapper: {
|
paymentMethodOptionDataWrapper: {
|
||||||
marginBottom: 4,
|
marginBottom: 4,
|
||||||
},
|
},
|
||||||
|
buttonPayNow: {
|
||||||
|
backgroundColor: Colors.primary30.color,
|
||||||
|
marginHorizontal: 16,
|
||||||
|
marginBottom: 16,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
export default styles;
|
export default styles;
|
||||||
|
Reference in New Issue
Block a user