@ray-js/components
Version:
Ray basic components
21 lines • 735 B
JavaScript
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
const _excluded = ["className", "style", "id"];
import clsx from 'clsx';
import * as React from 'react';
import { inlineStyle } from '@ray-js/framework-shared';
import { SwiperItem as RemaxSwiperItem } from '@ray-js/adapter';
const SwiperItem = props => {
const {
className,
style,
id
} = props,
restProps = _objectWithoutProperties(props, _excluded);
return /*#__PURE__*/React.createElement(RemaxSwiperItem, _extends({
id: id,
style: inlineStyle(style),
className: clsx('ray-swiper', className)
}, restProps));
};
export default SwiperItem;