Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
选项卡/标签页切换组件。
TAB栏让用户可以在不同子任务、视图、模式之间切换, 它具有全局导航的作用,是全局功能的主要展示和切换区域,一个TAB标记一个核心功能,TAB之间可以快速点击切换
M-Sui Design 将选项卡分为两类:
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
key | 初始化当前Tabs的 key | String | |
defaultActiveKey | 初始化选中面板的 key,如果没有设置则默认第一个 | String | 第一个面板 |
onChange | 切换面板的回调 | Function | 无 |
centered | 是否为嵌入式选项卡(底色橙色) | boolean | false |
type | 页签的基本样式,可选 capsule 、app 、nav | String | 'nav' |
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
key | 初始化当前TabPane的 key | String | 无 |
tab | 选项卡头显示文字 | React.Element or String | 无 |
FAQs
m-tabs 移动端标签页选项卡切换组件
The npm package m-tabs receives a total of 11 weekly downloads. As such, m-tabs popularity was classified as not popular.
We found that m-tabs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.