index.d.ts 656 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;
14
  tabBarExtraContent?: React.ReactNode;
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
15
  linkElement?: React.ReactNode;
jim's avatar
jim committed
16
  style?: React.CSSProperties;
17 18 19
}

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