UNPKG

modo-mobile

Version:

A mobile UI toolkit, based on React

25 lines 717 B
import * as React from 'react'; export interface NoticeBarProps { icon?: React.ReactNode; mode?: 'closable' | 'link'; prefixCls?: string; duration?: number; action?: React.ReactNode; children?: React.ReactNode; onClick?: () => void; } export default class NoticeBar extends React.PureComponent<NoticeBarProps, any> { static defaultProps: { prefixCls: string; mode: string; duration: number; icon: JSX.Element; onClick(): void; }; constructor(props: NoticeBarProps); componentDidMount(): void; handleHide: (time: number) => void; handleClose: () => void; render(): JSX.Element | null; } //# sourceMappingURL=index.d.ts.map