'use client' import type * as React from 'react' import type { Column } from '@tanstack/react-table' import { cn } from '@admin/utils/shared/cn' type DataGridCellProps = React.ComponentProps<'div'> & { column?: Column } function DataGridCell({ className, column, children, ...props }: DataGridCellProps) { const label = column?.columnDef.meta?.label const mobile = column?.columnDef.meta?.mobile return (
{label ? ( {label} ) : null} {children}
) } export { DataGridCell }