UNPKG

@ray-js/components

Version:

Ray basic components

16 lines 606 B
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; const _excluded = ["style"]; import * as React from 'react'; import { inlineStyle } from '@ray-js/framework-shared'; import { ScrollView as RemaxScrollView } from '@ray-js/adapter'; const ScrollView = props => { const { style } = props, restProps = _objectWithoutProperties(props, _excluded); return /*#__PURE__*/React.createElement(RemaxScrollView, _extends({ style: inlineStyle(style) }, restProps)); }; export default ScrollView;