/*
 * File: InfoCard.tsx
 * Description: Themed info card using Clinical Blue Interface design system
 * Design & Developed by Tech4Biz Solutions
 * Copyright (c) Spurrin Innovations. All rights reserved.
 */

import React, { ReactNode } from 'react';
import { View, StyleSheet, ViewStyle } from 'react-native';
import { cardStyles } from './Card.styles';

interface InfoCardProps {
  children: ReactNode;
  style?: ViewStyle |[ViewStyle,{}];
}

/**
 * InfoCard component
 * - Simple card for displaying information
 */
const InfoCard: React.FC<InfoCardProps> = ({ children, style }) => (
  <View style={[cardStyles.infoCard, style]}>{children}</View>
);

export default InfoCard;

/*
 * End of File: InfoCard.tsx
 * Design & Developed by Tech4Biz Solutions
 * Copyright (c) Spurrin Innovations. All rights reserved.
 */ 