index.d.ts 616 Bytes
Newer Older
jim's avatar
jim committed
1
import * as React from 'react';
2 3 4 5 6 7 8
export interface PageHeaderProps {
  title?: React.ReactNode | string;
  logo?: React.ReactNode | string;
  action?: React.ReactNode | string;
  content?: React.ReactNode;
  extraContent?: React.ReactNode;
  routes?: Array<any>;
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
9
  params?: any;
10 11
  breadcrumbList?: Array<{ title: React.ReactNode; href?: string }>;
  tabList?: Array<{ key: string; tab: React.ReactNode }>;
afc163's avatar
afc163 committed
12
  tabActiveKey?: string;
13
  onTabChange?: (key: string) => void;
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
14
  linkElement?: React.ReactNode;
jim's avatar
jim committed
15
  style?: React.CSSProperties;
16 17 18
}

export default class PageHeader extends React.Component<PageHeaderProps, any> {}