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-grid-dropdown
Advanced tools
npm install react-grid-dropdown --save
import GridDropdown from 'react-grid-dropdown'
import 'react-grid-dropdown/dist/style.css'
<GridDropdown
label="dropdown"
activeItem={this.state.activeItem}
items={
[{section: 'category', label: 'itemLabel', id: 'itemId', backgroundImage: `url(${url})`, onClick: () => this.setState({ activeItem: 'itemId' })}]
}
/>
Name | Type | Description | Default |
---|---|---|---|
label | string | ||
activeItem | string | item to recieve 'active' class when pressed | |
items | array | items to render in the dropdown | |
sectionsOrder | array | ||
buttonClass | string | class for dropdown button | |
dropdownClass | string | class for dropdown container | |
itemClass | string | class for each item in the dropdown | |
itemLabelClass | string | class for text of each item | |
buttonStyle | string | style for dropdown button | |
dropdownStyle | string | style for dropdown container | |
itemStyle | string | style for each item in the dropdown | |
itemLabelStyle | string | style for text of each item |
Name | Type |
---|---|
section | string |
label | string |
id | string |
backgroundImage | string, url |
backgroundColor | string, color |
onClick | func |
Developed by bl00mber for cellular automata generator
FAQs
Dropdown with customizable grid
The npm package react-grid-dropdown receives a total of 4 weekly downloads. As such, react-grid-dropdown popularity was classified as not popular.
We found that react-grid-dropdown 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.