import * as React from 'react'; import BaseProps from './PropsType'; export interface NoticeBarPropsType extends BaseProps { prefixCls?: string; className?: string; } export default class NoticeBar extends React.Component { static defaultProps: { prefixCls: string; type: string; icon: null; onClose: () => void; onClick: () => void; }; constructor(props: any); handleClose(): void; render(): JSX.Element; }