Download react-slick/src/default-props.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.21 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-slick/src/default-props.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-slick/src/default-props.js
-
curl -L -o default-props.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-slick/src/default-props.js
1.21 kB
| import React from "react"; | |
| let defaultProps = { | |
| accessibility: true, | |
| adaptiveHeight: false, | |
| afterChange: null, | |
| appendDots: dots => <ul style={{ display: "block" }}>{dots}</ul>, | |
| arrows: true, | |
| autoplay: false, | |
| autoplaySpeed: 3000, | |
| beforeChange: null, | |
| centerMode: false, | |
| centerPadding: "50px", | |
| className: "", | |
| cssEase: "ease", | |
| customPaging: i => <button>{i + 1}</button>, | |
| dots: false, | |
| dotsClass: "slick-dots", | |
| draggable: true, | |
| easing: "linear", | |
| edgeFriction: 0.35, | |
| fade: false, | |
| focusOnSelect: false, | |
| infinite: true, | |
| initialSlide: 0, | |
| lazyLoad: null, | |
| nextArrow: null, | |
| onEdge: null, | |
| onInit: null, | |
| onLazyLoadError: null, | |
| onReInit: null, | |
| pauseOnDotsHover: false, | |
| pauseOnFocus: false, | |
| pauseOnHover: true, | |
| prevArrow: null, | |
| responsive: null, | |
| rows: 1, | |
| rtl: false, | |
| slide: "div", | |
| slidesPerRow: 1, | |
| slidesToScroll: 1, | |
| slidesToShow: 1, | |
| speed: 500, | |
| swipe: true, | |
| swipeEvent: null, | |
| swipeToSlide: false, | |
| touchMove: true, | |
| touchThreshold: 5, | |
| useCSS: true, | |
| useTransform: true, | |
| variableWidth: false, | |
| vertical: false, | |
| verticalSwiping: false, | |
| waitForAnimate: true, | |
| asNavFor: null, | |
| unslick: false | |
| }; | |
| export default defaultProps; | |