'use client'

import type * as React from 'react'
import { cn } from '@admin/utils/shared/cn'

function DataGridBody({ className, ...props }: React.ComponentProps<'div'>) {
  return (
    <div
      role="rowgroup"
      data-slot="data-grid-body"
      className={cn(
        "relative col-span-full grid grid-cols-subgrid overflow-hidden rounded-sm bg-card shadow-input after:pointer-events-none after:absolute after:inset-0 after:rounded-sm after:border after:border-border after:content-['']",
        className
      )}
      {...props}
    />
  )
}

export { DataGridBody }
