index.d.ts 393 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
import React from 'react';

export interface GlobalHeaderProps {
  collapsed?: boolean;
  onCollapse?: (collapsed: boolean) => void;
  isMobile?: boolean;
  logo?: string;
  onNoticeClear?: (type: string) => void;
  onMenuClick?: ({ key: string }) => void;
  onNoticeVisibleChange?: (b: boolean) => void;
}

export default class GlobalHeader extends React.Component<GlobalHeaderProps, any> {}