UNPKG

@zohodesk/components

Version:

In this Package, we Provide Some Basic Components to Build Web App

30 lines (28 loc) 818 B
import React from 'react'; import { TabContent_defaultProps } from "./props/defaultProps"; import { TabContent_propTypes } from "./props/propTypes"; import { Container } from "../Layout"; import style from "./v1TabContent.module.css"; /* eslint-disable react/forbid-component-props */ const TabContent = _ref => { let { children, scroll, dataId, id, dataSelectorId } = _ref; return /*#__PURE__*/React.createElement(Container, { className: style.container, scroll: scroll, dataId: `${dataId}_TabContent`, isScrollAttribute: true, "aria-labelledby": id, tabindex: "-1", role: "tabpanel", dataSelectorId: dataSelectorId }, children); }; TabContent.defaultProps = TabContent_defaultProps; TabContent.propTypes = TabContent_propTypes; export default TabContent;