NeoScan_Physician/shared/src/components/Card/InfoCard.tsx
2025-07-22 17:36:29 +05:30

31 lines
821 B
TypeScript

/*
* 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.
*/