1 | import React from 'react';
|
2 | import { HeaderPropsType } from './PropsType';
|
3 | export interface HeaderProps extends HeaderPropsType {
|
4 | prefixCls?: string;
|
5 | className?: string;
|
6 | title?: string;
|
7 | style?: React.CSSProperties;
|
8 | onTitleClick?: any;
|
9 | }
|
10 | export declare class TitleArea extends React.Component<any, any> {
|
11 | handleItemClick: (e: any) => void;
|
12 | render(): JSX.Element;
|
13 | }
|
14 | export declare class Item extends React.Component<any, any> {
|
15 | static defaultProps: HeaderProps;
|
16 | handleItemClick: (e: any) => void;
|
17 | render(): JSX.Element;
|
18 | }
|
19 | export default class Header extends React.Component<HeaderProps, any> {
|
20 | static Item: typeof Item;
|
21 | static LeftArea: (props: any) => JSX.Element;
|
22 | static TitleArea: typeof TitleArea;
|
23 | static RightArea: (props: any) => JSX.Element;
|
24 | onHandleTitleClick: (e: any) => void;
|
25 | render(): JSX.Element;
|
26 | }
|