import { PageContainerProps } from '@ant-design/pro-components'; import { Theme, css } from '@emotion/react'; import { BreadcrumbProps, Card } from 'antd'; import { PropsWithChildren } from 'react'; export type PageLayoutStyle = (theme: Theme) => ReturnType; export type PageHeaderStyle = (theme: Theme) => ReturnType; export type PageBodyStyle = (theme: Theme) => ReturnType; export type PageLayoutProps = PropsWithChildren & { loading?: boolean; breadcrumb?: BreadcrumbProps; pageLayoutStyle?: (theme: Theme) => ReturnType; pageHeaderStyle?: (theme: Theme) => ReturnType; pageBodyStyle?: (theme: Theme) => ReturnType; appendTabToUrl?: boolean; defaultActiveKey?: string; stickyHeader?: boolean; onTabChange?: (activeKey: string) => void | string; backgroundColor?: 'default' | 'white'; headerBottom?: React.ReactNode; fullWidth?: boolean; }>; export type HeaderProps = { title: string | React.ReactNode; extra?: React.ReactNode; breadcrumb?: BreadcrumbProps; content?: React.ReactNode; footer?: React.ReactNode; }; export type CustomCardProps = { hasTabs?: boolean; pageLayoutStyle?: (theme: Theme) => ReturnType; pageHeaderStyle?: (theme: Theme) => ReturnType; pageBodyStyle?: (theme: Theme) => ReturnType; stickyHeader?: boolean; fixedBody?: boolean; backgroundColor?: 'default' | 'white'; fullWidth?: boolean; } & React.ComponentProps;