"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

exports.__esModule = true;
exports.TabPanel = void 0;

var _react = _interopRequireDefault(require("react"));

var _jsxRuntime = require("react/jsx-runtime");

// Generated with util/create-component.js
const TabPanel = ({
  children,
  value,
  index,
  ...otherProps
}) => {
  if (value !== index) return null;
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", { ...otherProps,
    children: children
  });
};

exports.TabPanel = TabPanel;