UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

22 lines (21 loc) 718 B
import * as React from 'react'; import { TagType } from '../tag'; import { BreadcrumbProps } from '../breadcrumb'; import { AvatarProps } from '../avatar'; export interface PageHeaderProps { backIcon?: React.ReactNode; prefixCls?: string; title: React.ReactNode; subTitle?: React.ReactNode; style?: React.CSSProperties; breadcrumb?: BreadcrumbProps; tags?: React.ReactElement<TagType> | React.ReactElement<TagType>[]; footer?: React.ReactNode; extra?: React.ReactNode; avatar?: AvatarProps; onBack?: (e: React.MouseEvent<HTMLDivElement>) => void; className?: string; ghost?: boolean; } declare const PageHeader: React.FC<PageHeaderProps>; export default PageHeader;