UNPKG

@kietpt2003/react-native-core-ui

Version:
20 lines (19 loc) 507 B
import { jsx as _jsx } from "react/jsx-runtime"; import { View, StyleSheet, } from 'react-native'; const CardContent = ({ children, style, isLast = true, }) => { return (_jsx(View, { style: [ styles.root, isLast && styles.last, style, ], children: children })); }; CardContent.displayName = 'CardContent'; const styles = StyleSheet.create({ root: { padding: 16, }, last: { paddingBottom: 24, }, }); export default CardContent;