@ramses-superapp/ramses-ui
Version:
Skinless UI primitives for Ramses Built Apps
23 lines (22 loc) • 535 B
JavaScript
;
import { forwardRef } from 'react';
import { View } from 'react-native';
import { jsx as _jsx } from "react/jsx-runtime";
const RsDivider = /*#__PURE__*/forwardRef(({
orientation = 'horizontal',
style
}, ref) => {
return /*#__PURE__*/_jsx(View, {
ref: ref,
style: [orientation === 'horizontal' ? {
height: 1,
width: '100%'
} : {
width: 1,
height: '100%'
}, style]
});
});
RsDivider.displayName = 'RsDivider';
export default RsDivider;
//# sourceMappingURL=RsDivider.js.map