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.
选项卡/标签页切换组件。
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 移动端标签页选项卡切换组件
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.
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.