import React from 'react'; export interface NoticeBarProps { /** * 自定义样式名 */ className?: string; /** * 行内样式 */ style?: React.CSSProperties; /** * 背景色 */ background?: string; /** * 设置图标,传null就是不显示 */ icon?: React.ReactNode; /** * 设置左侧标题 */ title?: React.ReactNode; /** * 文字颜色 */ color?: string; /** * 消息项 */ children?: React.ReactNode; /** * 延迟开始滚动时间,单位ms */ delay?: number; /** * 滚动速度,单位px/s */ speed?: number; /** * 滚动行为:overflow文字超出滚动, always始终滚动 */ behavior?: 'overflow' | 'always'; } declare const NoticeBar: (props: NoticeBarProps) => React.JSX.Element; export default NoticeBar;