import { ChevronRightIcon } from '@heroicons/react/24/solid'; import RichTextDisplay from 'components/page/rich-text-display'; import Table from 'components/page/table'; import { getMetaobject } from 'lib/shopify'; import startCase from 'lodash.startcase'; import { Tab, TabGroup, TabList, TabPanel, TabPanels } from './tab-components'; const TabContent = async ({ id }: { id?: string }) => { if (!id) { return null; } const metaobject = await getMetaobject({ id }); if (!metaobject || metaobject.type !== 'plp_content_tables') return null; return (