import Text, { TextProps } from "antd/es/typography/Text"; import { FunctionComponent, ReactNode } from "react"; interface ProText extends TextProps { children?: ReactNode; className?: string; } const ProText: FunctionComponent = ({ children, className, ...other }) => { // const { locale } = useAppSelector((state) => state.locale); return ( {children} ); }; export default ProText;