
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
react-bootstrap-accordion
Advanced tools
A simple react component for adding a nice typewriter effect to your project.
A simple react component for adding a nice vertically collapsing accordions based on bootstrap 5 Accordion.
npm i react-bootstrap-accordion
yarn add react-bootstrap-accordion
import React from 'react'
import { Accordion } from 'react-bootstrap-accordion'
const MyComponent = () => {
return (
<div className='App'>
<Accordion /* Props */ />
</div>
)
}
Prop | Type | Options | Description | Default |
---|---|---|---|---|
title | String | Optional | Accordion Title | Accordion Title |
show | Boolean | Optional | Make accordion shown by default | false |
children | ReactNode | Optional | Accordion body | Lorem text |
The Component is based on Bootstrap 5 HTML
structure and CSS
classes so it will work out of the box if Bootstrap 5 css stylesheet is already included in you project. If you don't have/want to include Bootstrap, you still can use a standalone
css stylesheet which was extracted form bootstrap 5 stylesheet. Just add it:
import 'react-bootstrap-accordion/dist/index.css'
MIT © awran5
FAQs
A simple react component for adding a nice typewriter effect to your project.
We found that react-bootstrap-accordion 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.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.