UNPKG

@zohodesk/components

Version:

Dot UI is a customizable React component library built to deliver a clean, accessible, and developer-friendly UI experience. It offers a growing set of reusable components designed to align with modern design systems and streamline application development

27 lines (25 loc) 755 B
import React from 'react'; import { TabContent_defaultProps } from "./props/defaultProps"; import { TabContent_propTypes } from "./props/propTypes"; import { Container } from "../Layout"; import style from "./TabContent.module.css"; /* eslint-disable react/forbid-component-props */ const TabContent = ({ children, scroll, dataId, id, dataSelectorId }) => /*#__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;