TabPanel component for React