changes to todo

This commit is contained in:
ivic00
2024-09-05 19:27:44 +02:00
parent ee72c9c56a
commit f08b6ea997
14 changed files with 458 additions and 35 deletions

View File

@ -12,7 +12,7 @@ const DrawerButton = (props: IDrawerButtonProps) => {
<Button
onPress={props.pressFunc}
label={props.title}
labelStyle={{fontSize: 14}}
labelStyle={{ fontSize: 14 }}
color={props.color}
backgroundColor="white"
iconSource={() => (
@ -27,9 +27,24 @@ const DrawerButton = (props: IDrawerButtonProps) => {
{props.icon}
</View>
)}
style={{ aspectRatio: 1, borderRadius: 15, marginBottom: 12, flexDirection: 'column', justifyContent: "space-between", paddingVertical: 15 }}
>
</Button>
style={{
aspectRatio: 1,
borderRadius: 15,
marginBottom: 12,
flexDirection: "column",
justifyContent: "space-between",
paddingVertical: 15,
// Shadow for iOS
shadowColor: "#000",
shadowOffset: { width: 0, height: 2 },
shadowOpacity: 0.3,
shadowRadius: 10, // This will create a blurry shadow
// Shadow for Android
elevation: 1,
}}
></Button>
);
};