import React from "react"; import { Space, Typography } from "antd"; const { Text } = Typography; type PageHeaderProps = { title: string | React.ReactElement; subTitle?: string | React.ReactElement; extra?: React.JSX.Element; }; export default function PageHeader(props: PageHeaderProps): React.JSX.Element { return