UNPKG

react-native-ios-utilities

Version:

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

25 lines (24 loc) 565 B
"use strict"; import * as React from 'react'; import { View } from 'react-native'; import { jsx as _jsx } from "react/jsx-runtime"; export function Spacer(props) { return /*#__PURE__*/_jsx(View, { style: { marginTop: props.space ?? 15 } }); } ; export function SpacerLine(props) { const spacerLineStyle = { paddingTop: props.space ?? 12, borderBottomWidth: props.lineThickness ?? 1, borderBottomColor: 'rgba(0,0,0,0.15)' }; return /*#__PURE__*/_jsx(View, { style: spacerLineStyle }); } ; //# sourceMappingURL=Spacer.js.map