import { ReactChild, ReactNode } from "react"; import { ConfigType } from "dayjs"; import { RefineFieldBooleanProps, RefineFieldDateProps, RefineFieldEmailProps, RefineFieldFileProps, RefineFieldImageProps, RefineFieldMarkdownProps as BaseRefineFieldMarkdownProps, RefineFieldNumberProps, RefineFieldTagProps, RefineFieldTextProps, RefineFieldUrlProps, } from "@pankod/refine-ui-types"; import { ImageProps, TagProps } from "antd"; import { AbstractTooltipProps } from "antd/lib/tooltip"; import { TextProps } from "antd/lib/typography/Text"; import { LinkProps } from "antd/lib/typography/Link"; export type BooleanFieldProps = RefineFieldBooleanProps< unknown, AbstractTooltipProps >; export type DateFieldProps = RefineFieldDateProps; export type EmailFieldProps = RefineFieldEmailProps; export type FileFieldProps = RefineFieldFileProps; export type ImageFieldProps = RefineFieldImageProps< string | undefined, ImageProps, { imageTitle?: string; } >; export type RefineFieldMarkdownProps = BaseRefineFieldMarkdownProps< string | undefined >; export type NumberFieldProps = RefineFieldNumberProps; export type TagFieldProps = RefineFieldTagProps; export type TextFieldProps = RefineFieldTextProps; export type UrlFieldProps = RefineFieldUrlProps;