1.0.0 • Published 5 years ago

rc-marquee v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

rc-marquee

文字滚动

demo

https://yemuguliunian.github.io/rc-marquee/doc/index.html#/demo

使用示例

import Marquee from 'Marquee';

<Marquee space={100} speed={10} delay={3000} scrollType="hover">
    领域驱动设计的核心是“领域”,因此要运用领域驱动设计,从一开始就要让团队走到正确的点上。当我们组建好了团队之后,应该从哪里开始?不是UI原型设计,不是架构设计,不是设计数据库,这些事情重要却非最高优先级。
 </Marquee>

API

参数说明类型默认值
classNameclassNamestring
stylestyleobject
delay延迟滚动(ms)number1000
speed滚动速度number20
space滚动衔接的间距(px)number30
scrollType滚动模式('auto'|'hover')stringauto