import { ReactNode } from "react"; import { StyleProp, ViewStyle, TextStyle, ImageSourcePropType } from "react-native"; import { ImageContentFit, ImageStyle } from "expo-image"; export interface CardProps { children?: ReactNode; style?: StyleProp; onPress?: () => void; disabled?: boolean; elevation?: number; testID?: string; gestureHandler?: boolean; variant?: "outlined" | "elevated" | "filled" | "glass"; backgroundColor?: string; borderColor?: string; borderRadius?: number; margin?: number | { horizontal?: number; vertical?: number; }; padding?: number | { horizontal?: number; vertical?: number; }; backgroundImage?: { source: ImageSourcePropType; resizeMode?: ImageContentFit; blurRadius?: number; opacity?: number; style?: StyleProp; imageStyle?: ImageStyle; id?: string; }; greyscale?: boolean; glassEffect?: { opacity?: number; blur?: number; tint?: string; borderWidth?: number; borderColor?: string; }; gradient?: { colors: string[]; start?: { x: number; y: number; }; end?: { x: number; y: number; }; style?: object; }; } export interface CardHeaderProps { title?: string | ReactNode; subtitle?: string | ReactNode; left?: ReactNode; right?: ReactNode; style?: StyleProp; titleStyle?: StyleProp; subtitleStyle?: StyleProp; titleColor?: string; subtitleColor?: string; } export interface CardContentProps { children: ReactNode; style?: StyleProp; padding?: number | { horizontal?: number; vertical?: number; }; } export interface CardFooterProps { children: ReactNode; style?: StyleProp; inset?: boolean; justifyContent?: "flex-start" | "center" | "flex-end" | "space-between" | "space-around" | "space-evenly"; } export interface CardImageProps { source: any; style?: StyleProp; height?: number | string; width?: number | string; resizeMode?: "cover" | "contain" | "stretch" | "repeat" | "center"; borderRadius?: number; overlay?: ReactNode; } export interface CardDividerProps { style?: StyleProp; inset?: boolean; color?: string; thickness?: number; } //# sourceMappingURL=types.d.ts.map