UNPKG

@nexara/nativeflow

Version:

Beautiful, responsive, and customizable UI components for React Native – built for performance and seamless experiences.

25 lines (24 loc) 656 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _index = require("../StyledComponents/index.js"); var _index2 = require("../../hooks/index.js"); var _jsxRuntime = require("react/jsx-runtime"); const Divider = ({ thickness = 0.7, color, style }) => { const theme = (0, _index2.useTheme)(); const dynamicStyles = { borderWidth: thickness, borderColor: color ?? theme?.colors.border.subtle }; return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.StyledView, { style: [dynamicStyles, style] }); }; var _default = exports.default = Divider; //# sourceMappingURL=Divider.js.map