mirror of
https://github.com/urosran/cally.git
synced 2025-11-27 00:44:54 +00:00
changes to todo
This commit is contained in:
@ -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>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user