import React, { ReactNode } from "react"; import { Typography } from "antd"; import { LinkProps } from "antd/lib/typography/Link"; import { FieldProps } from "../../../interfaces"; const { Link } = Typography; export type EmailFieldProps = FieldProps & LinkProps; /** * This field is used to display email values. It uses the {@link https://ant.design/components/typography/#FAQ ``} component * of {@link https://ant.design/components/typography ``} from Ant Design. * * @see {@link https://refine.dev/docs/api-references/components/fields/email} for more details. */ export const EmailField: React.FC = ({ value, ...rest }) => { return ( {value} ); };