import React from 'react'; import { useIsDesktop } from '@alfalab/core-components-mq'; import { type TabListProps } from '../../typings'; import { PrimaryTabListDesktop } from './Component.desktop'; import { PrimaryTabListMobile } from './Component.mobile'; export const PrimaryTabListResponsive = ({ size, breakpoint, client, fullWidthScroll, defaultMatchMediaValue = client === undefined ? undefined : client === 'desktop', ...restProps }: TabListProps) => { const isDesktop = useIsDesktop(breakpoint, defaultMatchMediaValue); return isDesktop ? ( ) : ( ); };