mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
14 lines
464 B
TypeScript
14 lines
464 B
TypeScript
import React from "react";
|
|
import { Text } from "@mantine/core";
|
|
|
|
import type { TextFieldProps } from "../types";
|
|
|
|
/**
|
|
* This field lets you show basic text. It uses Mantine {@link https://mantine.dev/core/text `<Text>`} component.
|
|
*
|
|
* @see {@link https://refine.dev/docs/api-reference/mantine/components/fields/text} for more details.
|
|
*/
|
|
export const TextField: React.FC<TextFieldProps> = ({ value, ...rest }) => {
|
|
return <Text {...rest}>{value}</Text>;
|
|
};
|