import React from "react";

import MuiTabPanel from "@mui/lab/TabPanel";

export interface TabPanelProps {
  value: string;
}

export const TabPanel: React.FC<React.PropsWithChildren<TabPanelProps>> = ({ value, children }) => {
  return (
    <MuiTabPanel sx={{ display: "contents" }} value={value}>
      {children}
    </MuiTabPanel>
  );
};
