Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
react-bootstrap-carousel
Advanced tools
This project support carousel components built with React.
npm i --save react-bootstrap-carousel
import ReactBootstrapCarousel from "react-bootstrap-carousel";
import "bootstrap/dist/css/bootstrap.css";
import "react-bootstrap-carousel/dist/react-bootstrap-carousel.css";
Props | Type | Description | Default |
---|---|---|---|
version | number | Bootstrap version 3 | version 4 | 3 |
defaultActiveIndex | number | 0 | |
slideshowSpeed | number | The amount of time to delay between automatically cycling an item | 7000 |
animation | boolean | whether to show animation | true |
autoplay | boolean | Whether to scroll automatically | true |
wrap | boolean | Whether the carousel should cycle continuously or have hard stops | true |
indicators | boolean | Whether to show the dots at the bottom of the gallery | true |
leftIcon | ReactNode | - | |
rightIcon | ReactNode | - | |
onSelect | function(value: number ) | Callback function called after the current index changes | - |
className | string | carousel-fade | "" | - |
pauseOnVisibility | boolean | Stop autoplay when visibilitychange | false |
Name | Description |
---|---|
slidePrev | Change current slide to previous slide |
slideNext | Change current slide to next slide |
goToSlide | Change current slide to given slide number |
FAQs
React port of bootstrap carousel
We found that react-bootstrap-carousel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.