🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

@zidumi/zicons

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@zidumi/zicons

A react library developed with dumi

unpublished
latest
npmnpm
Version
2.1.1
Version published
Maintainers
0
Created
Source

title: home nav: title: zicons

@zidumi/zicons homepage

Usage

https://reactsvgicons.com/

增加 icon 的方法

  • 添加 type 名称类型 IconNameType

  • 添加 icon 下的 svg 组件,文件名即为 icon type name

    2.1 复制 svg 代码

    2.2 修改属性

  <svg
    viewBox="0 0 48 48"
    fill="currentColor"
    height="1em"
    width="1em"
    {...props}
  >
    <path d="M38 26H26v12h-4V26H10v-4h12V10h4v12h12v4z" />
  </svg>

2.3 如果path下面有fill属性,需要修改为currentColor或者直接去掉 fill 属性

  • 直接使用SvgIcon

操作图标

IconNameTypeDescription
ziTest 测试
ziDelete 删除
ziAdd 新增
ziExport 导出
ziImport 导入
ziSync 同步
ziPrint 打印
ziMove 移动
ziUndo 撤销

路由图标

IconNameTypeDescription
ziSetting系统设置
ziBook知识库
ziSchool教育培训
ziContact企业通讯录
ziDesk工作台

其他图标

IconNameTypeDescription
ziModel 模型按钮
ziPoint 点位按钮

数据抽取

IconNameTypeDescription
ziFolder 文件夹按钮
ziFolderOpen 打开文件夹按钮
ziTransform 转换按钮
ziArrowLoopRight job 按钮

FAQs

Package last updated on 31 Jul 2024

Did you know?

Socket

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.

Install

Related posts