import { CSSProperties } from 'react'; import './index.less'; export interface TextScrollProps { texts: string[]; /** 滚动速度,通过时间控制,单位s */ scrollSpeed?: number; /** 文字滚动的延迟时间,单位s */ delay?: number; /** 文字的样式 */ textStyle?: CSSProperties; /** 内容的样式,主要用于设置文字滚动的高度 */ contentStyle?: CSSProperties; /** 在弹窗中 */ inModal?: boolean; } declare const _default: ({ texts, textStyle, scrollSpeed, delay, contentStyle, inModal, }: TextScrollProps) => JSX.Element; export default _default;