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.
@hb-ui/antd
Advanced tools
基于 antd 二次封装的一些常用组件
第一感官像是一个普通的 Vite 应用,事实确实如此 -- 鲁迅
├─┬ components 组件源码目录
│ ├── form
│ └── table
│
├─┬ es 组件输出目录
│ ├── form
│ └── table
│
├── scripts 组件构建脚本
├── server mock server
│
├─┬ view 开发组件实时预览
│ ├── form form 使用案例
│ └── table table 使用案例
│
└── vite.config.js
即 Vite 应用相同的开发方式
npm run dev
构建脚本会将 components/*
构建到 es/*
npm run build
npm run dev
看实际效果Form
// 你可以根据 TS 类型提示使用
import { Form, FormProps } from '@hb-ui/antd'
export default () => {
const formProps: FormProps = {
// Form config
}
return <Form {...formProps} />
}
Table
// 你可以根据 TS 类型提示使用
import { Table, TableProps } from '@hb-ui/antd'
export default () => {
const tableProps: TableProps = {
// Table config
}
return <Table {...tableProps} />
}
FAQs
基于 antd 二次封装的一些常用组件
The npm package @hb-ui/antd receives a total of 0 weekly downloads. As such, @hb-ui/antd popularity was classified as not popular.
We found that @hb-ui/antd demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.