import type { SanitizedCollectionConfig, SanitizedGlobalConfig } from 'payload/types'

export type Props = {
  className?: string
  dateFormat?: any // TODO: type this
  element?: React.ElementType
  fallback?: string
  isDate?: boolean
  title?: string
  // dateFormat?: SanitizedCollectionConfig['fields'][0]['admin']['date']['displayFormat']
}
