
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.
@snack-uikit/breadcrumbs
Advanced tools
npm i @snack-uikit/breadcrumbs
Компонент хлебных крошек
name | type | default value | description |
---|---|---|---|
items* | Item[] | - | Массив айтемов |
className | string | - | CSS-класс |
separator | string | "›" | Разделитель |
size | enum Size: "xs" , "s" | s | Размер |
firstItemIconOnly | boolean | false | Использовать иконку без лейбла в первом айтеме |
inactiveLastItem | boolean | false | Делает некликабельным последний элемент, даже если для него переданы href или onClick |
lastEmpty | boolean | - |
Массив объектов, описывающих компонент:
type Item = {
/* Уникальный id */
id: string,
/* Текст */
label: string;
/* Короткий вариант текста */
shortLabel?: string;
/* Ссылка */
href?: string;
/* Колбек обработки клика в айтем */
onClick?(): void;
}
Компоненты Breadcrumbs мемоизирован, старайтесь передавать items
одной и той же ссылкой.
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.