optimizations
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { TouchableOpacity, View } from "react-native";
|
||||
import { Text } from "react-native-paper";
|
||||
|
||||
import { colors } from "@/constants/colors";
|
||||
|
||||
interface CustomCheckboxProps {
|
||||
checked: boolean;
|
||||
onPress: () => void;
|
||||
@@ -32,7 +34,7 @@ export const CustomCheckbox = ({
|
||||
borderRadius: 2,
|
||||
justifyContent: "center",
|
||||
alignItems: "center",
|
||||
backgroundColor: checked ? "#6750a4" : "transparent",
|
||||
backgroundColor: checked ? colors.primaryPurpleDark : "transparent",
|
||||
}}
|
||||
>
|
||||
{checked && (
|
||||
|
||||
Reference in New Issue
Block a user