@coligo/react-native-table
Version:
Lightweight package for creating flexible tables in React Native.
23 lines (22 loc) • 625 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.HorizontalSeparator = void 0;
var _reactNative = require("react-native");
var _jsxRuntime = require("react/jsx-runtime");
const HorizontalSeparator = ({
borderStyle
}) => {
if (!borderStyle?.showHorizontalBody) {
return undefined;
}
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
style: {
height: borderStyle?.borderWidth ?? 1,
backgroundColor: borderStyle?.borderColor ?? 'black'
}
});
};
exports.HorizontalSeparator = HorizontalSeparator;
//# sourceMappingURL=HorizontalSeparator.js.map