
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
metro-comp
Advanced tools
内部组件库, 使用 styled-components
ModalForm
SearchFrom
StandardTable
Editable
YearPicker
ImgUpload
方法一: 使用 yarn / npm
yarn add metro-comp -D
import { SeachFrom } from 'metro-comp'
方法二: 复制粘贴到自己项目的 src/components 下, 此方法可以满足你对组件的定制化需求, 间接的放弃了 npm 包的版本更新功能
ctrl + c
ctrl + v
方法三: 安装 metro 后通过 metro 的可执行命令将对应的组件注入到 src/components。 该方法兼容了更新与定制,目前还在开发中。。。
使用 babel-plugin-import
// .babelrc or babel-loader option
{
"plugins": [
["import", {
"libraryName": "metro-comp",
"style": true
}]
]
}
文档和用例是一份庞大而精细的工作,由于个人精力有限并且还面临着项目压力, 这部分暂时为null。可以先通过 typescript 提供的接口文件查询组件的 api 。另外,欢迎👏各位在空闲至于加入到该项目的开发与维护当中。
文档用例
完整的测试体系
MIT
FAQs
内部组件库, 使用 styled-components
We found that metro-comp demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.