testing
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import React from "react";
|
||||
import { TouchableOpacity, Text, StyleSheet, ActivityIndicator, ViewStyle } from "react-native";
|
||||
import colors from "./colors";
|
||||
|
||||
type CustomButtonProps = {
|
||||
title: string;
|
||||
@@ -13,8 +14,8 @@ type CustomButtonProps = {
|
||||
export default function CustomButton({
|
||||
title,
|
||||
onPress,
|
||||
backgroundColor = "#000000ff",
|
||||
textColor = "#fff",
|
||||
backgroundColor = colors.pastelGreen,
|
||||
textColor = colors.textDark,
|
||||
loading = false,
|
||||
style,
|
||||
}: CustomButtonProps) {
|
||||
@@ -36,6 +37,7 @@ export default function CustomButton({
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
button: {
|
||||
elevation:5,
|
||||
paddingVertical: 16,
|
||||
paddingHorizontal: 20,
|
||||
borderRadius: 12,
|
||||
|
||||
Reference in New Issue
Block a user