UNPKG

@wulperstudio/cms

Version:
21 lines (20 loc) 837 B
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import _objectDestructuringEmpty from "@babel/runtime/helpers/esm/objectDestructuringEmpty"; import _extends from "@babel/runtime/helpers/esm/extends"; var _excluded = ["tabs"]; /* eslint-disable arrow-body-style */ /* eslint-disable no-undef */ import React from 'react'; import { WTabs } from '../../../components'; import { jsx as _jsx } from "react/jsx-runtime"; export var BlockTabs = function BlockTabs(_ref) { var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref)); var _ref2 = props || {}, tabs = _ref2.tabs, rest = _objectWithoutProperties(_ref2, _excluded); // const { centered = true, ...restTabsProps } = tabsProps || { // }; return /*#__PURE__*/_jsx(WTabs, Object.assign({ tabs: tabs }, rest)); };