import React from 'react';
import classnames from 'classnames';
export var TabPanel = function TabPanel(props) {
  var classes = classnames('ds-c-tabs__panel', props.className);
  return /*#__PURE__*/React.createElement("div", {
    "aria-labelledby": props.tabId,
    "aria-hidden": !props.selected,
    "aria-disabled": props.disabled,
    className: classes,
    id: props.id,
    role: "tabpanel"
  }, props.children);
};

// Set component name to make child.type.displayName available to other components (eg. Tab)
TabPanel.displayName = 'TabPanel';
TabPanel.defaultProps = {
  selected: false
};
export default TabPanel;