
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@dreamworld/dw-icon-button
Advanced tools
## Why don't we use `mwc-icon-button`? - We created `dw-icon` to have extended icon set, sepecific to the app. But, those icons we can't be used with `mwc-icon-button`. - We found issue with `mwc-icon-button` that it can't be resized easily.
mwc-icon-button
?dw-icon
to have extended icon set, sepecific to the app. But, those icons we can't be used with
mwc-icon-button
.mwc-icon-button
that it can't be resized easily.<dw-icon-button icon="" disabled></dw-icon-button>
width
& height
css for dw-icon-button
.We don't support icon in light-dom (
slot
) as supported by [mwc-icon-button
]
icon
disabled
primary
Set when icon is to be shown in primary color.
secondary
Set when icon is to be shown in secondary color.
iconSize
, No default value. So, default size of dw-icon
is used (which is 24px.)
buttonSize
, No default value. So, default icon container size is it's parent height and width. If buttonSize is exists then icon container size base on buttonSize
property.
title
: When it's provided, on mouse enter, shows title text as a tooltip.
disabledTitle
: When it's provided and icon is disable, on mouse enter, shows disabledTitle text as a tooltip.
placement
: Set tooltip position. Default value is top.
Note: The "disabledTitle" property displays the tooltip only when the icon-button is disabled, whereas the "title" property displays the tooltip when the icon-button is not disabled. Set both properties to show the tooltip in both cases.
--dw-icon-color-active
--dw-icon-color
--dw-icon-color-disabled
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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.