
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.
@hzab/sider
Advanced tools
侧边栏组件
import Demo from "@hzab/sider";
<Demo
menus={[
{ key: "/", label: "首页", title: "首页" },
{
key: "/user-server",
label: "用户服务",
icon: "UserOutlined",
children: [
{
key: "/user-server/user-list",
label: "用户管理",
},
{
key: "/user-server/role-list",
label: "角色管理",
},
{
key: "/user-server/org-list",
label: "组织管理",
},
],
},
{
key: "/sys-server",
label: "系统服务",
icon: "UserOutlined",
children: [
{
key: "/sys-server/config-list",
label: "配置管理",
},
{
key: "/sys-server/color-list",
label: "颜色管理",
},
{
key: "/sys-server/size-list",
label: "尺寸管理",
},
],
},
]}
/>;
| 参数 | 类型 | 必填 | 默认值 | 说明 | | -------------- | ------- | ---- | ------ | ----------------------------------------------- | --- | | menus | Array | 是 | - | 侧边栏数据 | | | collapsible | boolean | 否 | - | 是否可以收起 | | | collapsedWidth | number | 否 | - | 收缩宽度,设置为 0 会出现特殊 trigger(定位块) | |
| 参数 | 类型 | 必填 | 默认值 | 说明 | | -------- | ------ | ---- | ------ | ----------------------------- | --- | | key | string | 是 | - | 跳转地址 | | | label | string | 是 | - | 文案 | | | icon | string | 是 | - | icon,可以是 antd icon 字符串 | | | children | Array | 是 | - | 子集 | |
注意:示例代码生效,但发布之后未生效。确认是否执行了编译!!!
编译组件:npm run build
命令:npm publish --access public
发布目录:
FAQs
We found that @hzab/sider demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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 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.