// Generated with util/create-component.js
import React from "react";
import { jsx as _jsx } from "react/jsx-runtime";
export const TabPanel = ({
  children,
  value,
  index,
  ...otherProps
}) => {
  if (value !== index) return null;
  return /*#__PURE__*/_jsx("div", { ...otherProps,
    children: children
  });
};