custom-swiper
TypeScript icon, indicating that this package has built-in type declarations

0.1.129 • Public • Published

Custom Swiper

install

To install Custom Swiper, use:

yarn add custom-swiper

How to use

This is the simple usage:

const list2 = [{
    button: "test1",
    title: 'testtitle1',
    background: {
        type: 'img',
        data: 'https://www.etestware.com/wp-content/uploads/2020/08/shutterstock_515285995-1200x580.jpg'
    },
},
]
<CustomerSwiper lists={list2}  height={9} width={16} />

Setting

Type des type default
navigation optional boolean false
pagination optional boolean false
width required number ' '
height required number ' '
lists required CustomSwiperListProps[] []

####CustomSwiperListProps

Type des type default
button required string ''
buttonStyle optional React.CSSProperties
title required string ' '
titleStyle optional React.CSSProperties
background required {type: string;data: string; }; []

Readme

Keywords

none

Package Sidebar

Install

npm i custom-swiper

Weekly Downloads

1

Version

0.1.129

License

MIT

Unpacked Size

65.6 kB

Total Files

33

Last publish

Collaborators

  • tonyluk