import { Tabs as MantineTabs, TabsProps as MantineTabsProps, TabsPanelProps } from '@mantine/core'; import { Suspense } from 'react'; import styles from './tabs.module.css'; type TabsProps = MantineTabsProps; export const Tabs = ({ children, ...props }: TabsProps) => { return ( {children} ); }; const Panel = ({ children, ...props }: TabsPanelProps) => { return ( }>{children} ); }; Tabs.List = MantineTabs.List; Tabs.Panel = Panel; Tabs.Tab = MantineTabs.Tab;