
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@slice-and-dice/govuk-react-button
Advanced tools
Styled button component with configurable properties.
import Button from '@govuk-react/button';
Simple
<Button>My button text</Button>
With Icon
import { ButtonArrow } from '@govuk-react/icons';
<Button icon={<ButtonArrow />}>My button text</Button>
svg
readableColor
call, but translate their black to govuk's blackProp | Required | Default | Type | Description |
---|---|---|---|---|
buttonColour | undefined | string | Override for default button colour | |
buttonHoverColour | undefined | string | Override for default button hover colour, which defaults to buttonColour darkened by 5% | |
buttonShadowColour | undefined | string | Override for default button shadow colour, which defaults to buttonColour darkened by 15% | |
buttonTextColour | undefined | string | Override for default button text colour, which defaults to govuk white | |
children | true | `````` | node | Button text |
disabled | false | bool | Renders a disabled button and removes pointer events if set to true | |
icon | undefined | node | Button icon | |
start | false | bool | Renders a large button if set to true |
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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.