react_carousel_comp_xujie

1.0.1 • Public • Published

react_carousel_comp 轮播 走马灯组件

Install

yarn add react_carousel_comp_xujie
npm i react_carousel_comp_xujie

demo

demo

Usage

 <Carousel>
    {
        images.map((image, index) => (
            <ChildComp key={index} image={image} />
        ))
    }
</Carousel>
属性 Property 说明 Description 类型 Type 默认值 Default
perNum 显示子元素的个数 number 4
autoPlay 是否自动滚动 boolean false
style 样式 object {width: '100%',height: '100%'}

Readme

Keywords

none

Package Sidebar

Install

npm i react_carousel_comp_xujie

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

12.8 kB

Total Files

5

Last publish

Collaborators

  • jyoketsu