Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
@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 5 weekly downloads. As such, @hb-ui/antd popularity was classified as not popular.
We found that @hb-ui/antd demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.