index.d.ts 653 Bytes
Newer Older
jim's avatar
jim committed
1
import * as React from 'react';
jim's avatar
jim committed
2
export interface IPageHeaderProps {
3 4 5 6 7
  title?: React.ReactNode | string;
  logo?: React.ReactNode | string;
  action?: React.ReactNode | string;
  content?: React.ReactNode;
  extraContent?: React.ReactNode;
jim's avatar
jim committed
8
  routes?: 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
}

jim's avatar
jim committed
19
export default class PageHeader extends React.Component<IPageHeaderProps, any> {}