UNPKG

@nexara/nativeflow

Version:

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

21 lines (20 loc) 519 B
"use strict"; import { StyledView } from "../StyledComponents/index.js"; import { useTheme } from "../../hooks/index.js"; import { jsx as _jsx } from "react/jsx-runtime"; const Divider = ({ thickness = 0.7, color, style }) => { const theme = useTheme(); const dynamicStyles = { borderWidth: thickness, borderColor: color ?? theme?.colors.border.subtle }; return /*#__PURE__*/_jsx(StyledView, { style: [dynamicStyles, style] }); }; export default Divider; //# sourceMappingURL=Divider.js.map