Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@eduzz/apps-toolbar-react
Advanced tools
[![version](https://img.shields.io/npm/v/@eduzz/apps-toolbar-react)](https://www.npmjs.com/package/@eduzz/apps-toolbar-react)
$ yarn add @eduzz/apps-toolbar-react
Adicione a fonte padrão no seu HTML (se não houver).
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600&display=swap" rel="stylesheet">
const { Action, Apps, User, UserMenuItem, UserMenuDivider, UserMenuContext } = EduzzToolbar;
<EduzzToolbar {...params}>
// ações customizadas
<Action icon={...} onClick={...} />
<Action icon={...} onClick={...} />
// apps padrão
<Apps />
// usuário atual/ações do usuário
<User>
<UserMenuItem icon={...} disabled>Minhas compras</UserMenuItem>
<UserMenuItem icon={...}>Dados Bancários</UserMenuItem>
<UserMenuItem icon={...}>Dashboard Elite</UserMenuItem>
<UserMenuDivider />
<UserMenuContext>Contas:</UserMenuContext>
<UserMenuItem icon={...}>John Doe</UserMenuItem>
<UserMenuItem icon={...} disabled>John Doe 2</UserMenuItem>
<UserMenuDivider />
<UserMenuItem>Sair</UserMenuItem>
</User>
</EduzzToolbar>
Toolbar
props.
interface IEduzzToolbarSetupParams {
application?: typeEduzzToolbarApplications;
user?: IEduzzToolbarUser;
disableChat?: boolean;
}
Toolbar.Action
props.
interface IEduzzToolbarAction {
active?: boolean;
icon?: React.ReactNode;
label?: React.ReactNode;
onClick?: (element?: React.MouseEvent<HTMLDivElement>) => void;
}
Toolbar.UserMenuItem
props.
interface IEduzzToolbarUserMenuItem {
icon?: React.ReactNode;
onClick?: (user: IEduzzToolbarUser, e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
disabled?: boolean;
}
FAQs
[![version](https://img.shields.io/npm/v/@eduzz/apps-toolbar-react)](https://www.npmjs.com/package/@eduzz/apps-toolbar-react)
The npm package @eduzz/apps-toolbar-react receives a total of 7 weekly downloads. As such, @eduzz/apps-toolbar-react popularity was classified as not popular.
We found that @eduzz/apps-toolbar-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.