1 | import React from 'react';
|
2 | import { MarqueeProps } from './Marquee';
|
3 | import { NoticeBarPropsType } from './PropsType';
|
4 | export interface NoticeWebProps extends NoticeBarPropsType {
|
5 | marqueeProps?: MarqueeProps;
|
6 | className?: string;
|
7 | prefixCls?: string;
|
8 | style?: React.CSSProperties;
|
9 | }
|
10 | export 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 | }
|