import React from "react";
import "../style/standard.css"

interface TabPanelProps {
  children?: React.ReactNode;
  index: number;
  value: number;
}

function TabPanel(props: TabPanelProps) {
  const {children, value, index, ...other} = props;
  return (
    <div hidden={value !== index}>
      {children}
    </div>
  )
}

export default TabPanel;