import React, { ReactNode } from "react"; import { Typography } from "antd"; import { TextProps } from "antd/lib/typography/Text"; import { FieldProps } from "../../../interfaces/field"; const { Text } = Typography; export type TextFieldProps = FieldProps & TextProps; /** * This field lets you show basic text. It uses Ant Design's {@link https://ant.design/components/typography/#Typography.Text ``} component. * * @see {@link https://refine.dev/docs/api-references/components/fields/text} for more details. */ export const TextField: React.FC = ({ value, ...rest }) => { return {value}; };