【文件属性】:
文件名称:react-stacked-carousel:带有堆叠卡片的旋转木马
文件大小:5.58MB
文件格式:ZIP
更新时间:2021-05-31 09:24:13
reactjs react-library carousel stacked-cards react-stacked-card
react-stacked-carousel
带有堆叠卡片的旋转木马
安装
npm install --save react-stacked-carousel
用法
import React , { StyleSheet , useState } from 'react'
import { StackedCarousel } from 'react-stacked-carousel'
import 'react-stacked-carousel/dist/index.css' ;
const App = ( ) => {
const [ card , setCard ] = useState ( null ) ;
const onCardChange = ( event ) => {
console . log ( "Card" , event ) ;
}
re
【文件预览】:
react-stacked-carousel-main
----.eslintrc(603B)
----yarn.lock(507KB)
----screen.gif(5.25MB)
----src()
--------.eslintrc(36B)
--------styles.module.css(1KB)
--------index.test.js(151B)
--------index.js(4KB)
----.travis.yml(41B)
----example()
--------public()
--------yarn.lock(459KB)
--------src()
--------README.md(275B)
--------package.json(886B)
----.prettierrc(197B)
----README.md(2KB)
----.editorconfig(147B)
----.gitignore(281B)
----.eslintignore(47B)
----package.json(2KB)