Files
super-app/components/widgets/grid-with-card-widget/GridWithCardWidgetStyle.ts
2024-03-27 15:06:03 +00:00

40 lines
855 B
TypeScript

import { StyleSheet } from "react-native";
const styles = StyleSheet.create({
gridContainer: {
marginStart: -4,
marginEnd: 8
},
cardItem: {
flex: 1,
marginHorizontal: 4,
marginBottom: 8,
backgroundColor: "#FFFFFF",
flexDirection: "column",
justifyContent: "center",
paddingHorizontal: 16,
paddingBottom: 16,
paddingTop: 24,
borderRadius: 4,
borderColor: "#EBEBEB",
borderWidth: 1,
alignItems: "center",
shadowColor: "grey",
shadowOpacity: 1,
shadowRadius: 32,
shadowOffset: { width: 3, height: 3 },
elevation: 4,
},
cardItemInvisible: {
elevation: 0,
backgroundColor: "transparent",
borderColor: "transparent",
},
rowContainer: {
flexDirection: "row",
justifyContent: "space-between",
paddingBottom: 12,
},
});
export default styles;