import { Card as RNCard } from "react-native-paper"; import type { Card } from "./types"; import { StyleSheet, View as RNView } from "react-native"; import React from "react"; import { Render } from "./Render"; const CardImpl: React.FC = (props: Card) => { const {elevation, viewProps, children, contexts} = props; return( {children?.map((child, index) => { const childWithContext = {...child, contexts: contexts}; return ; })} ) } const styles = StyleSheet.create({ container: { backgroundColor: 'transparent' } }) export default CardImpl;