
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@bdt-component-library/button-group
Advanced tools
This is a component published as its own package from our component library monorepo: https://github.com/BenefitsDataTrust/ui-components. Setup instructions, as well as higher-level goals and concerns can be found from the main project README.
Handles display of button groups according to style guide conventions (infers conventions from the structured list component).
| prop | type | required | default | explanation |
|---|---|---|---|---|
| children | React node | yes | n/a | The components to group inside the button group |
| className | string | no | n/a | Adds an optional classname to the component |
| inline | boolean | no | false | Determines if button group displays in inline or block |
| spacing | enum(1, 2, 3, 4) | no | 1 | Determines the spacing between children passed into the ButtonGroup component |
| wrap | enum("wrap", "no-wrap") | no | "wrap" | Determines if flex-wrap attribute is applied |
FAQs
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 researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.