Add button pay now on the Other Method screen

This commit is contained in:
Mochammad Adhi Buchori
2025-04-24 11:29:50 +07:00
parent 886a897e02
commit 388a400b32
2 changed files with 9 additions and 1 deletions

View File

@ -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>
); );
} }

View File

@ -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;