chore: build
Omnex Plateform App - EAS Build / build (push) Canceled after 7m42s
Omnex Plateform Client - EAS Build / build (push) Canceled after 4m43s

This commit is contained in:
Xor290
2026-08-04 21:18:12 +02:00
parent f75cf5700c
commit bef57d91de
55 changed files with 24850 additions and 5 deletions
@@ -0,0 +1,36 @@
import React, { type ReactNode } from "react";
import { View, StyleSheet, type ViewStyle } from "react-native";
import { spacing, borderRadius, shadows } from "../../theme";
import { useTheme } from "../../context/ThemeContext";
interface CardProps {
children: ReactNode;
style?: ViewStyle;
}
export default function Card({ children, style }: CardProps) {
const { colors } = useTheme();
return (
<View
style={[
styles.card,
shadows.md,
{
backgroundColor: colors.bgCard,
borderColor: colors.borderLight,
},
style,
]}
>
{children}
</View>
);
}
const styles = StyleSheet.create({
card: {
borderRadius: borderRadius.md,
padding: spacing.l,
borderWidth: 1,
},
});