UNPKG

615 BTypeScriptView Raw
1import * as React from 'react';
2import { MarqueeProps } from './Marquee';
3import { NoticeBarPropsType } from './PropsType';
4export interface NoticeWebProps extends NoticeBarPropsType {
5 marqueeProps?: MarqueeProps;
6 className?: string;
7 prefixCls?: string;
8 style?: React.CSSProperties;
9}
10export default class NoticeBar extends React.Component<NoticeWebProps, any> {
11 static defaultProps: {
12 prefixCls: string;
13 mode: string;
14 icon: JSX.Element;
15 onClick(): void;
16 };
17 constructor(props: NoticeWebProps);
18 onClick: () => void;
19 render(): JSX.Element | null;
20}