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