UNPKG

react-native-ios-utilities

Version:

Utilities for react-native + iOS and wrappers for using swift together with fabric/paper + JSI

23 lines (22 loc) 614 B
"use strict"; import * as React from 'react'; import { StyleSheet, View } from 'react-native'; import { Colors } from "../misc/Colors.js"; import { jsx as _jsx } from "react/jsx-runtime"; export const CardBody = props => { return /*#__PURE__*/_jsx(View, { style: [styles.cardBodyContainer, props.style], children: props.children }); }; const styles = StyleSheet.create({ cardBodyContainer: { paddingHorizontal: 12, paddingVertical: 15, marginHorizontal: 10, marginVertical: 10, backgroundColor: Colors.PURPLE[50], borderRadius: 10 } }); //# sourceMappingURL=CardBody.js.map