Socket
Book a DemoInstallSign in
Socket

rox-menu

Package Overview
Dependencies
Maintainers
5
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rox-menu

--- subtitle: 菜单 group: Data Display ---

latest
npmnpm
Version
0.0.36
Version published
Weekly downloads
1
Maintainers
5
Weekly downloads
 
Created
Source

subtitle: 菜单 group: Data Display

Menu

API

参数说明类型默认值
dataSource菜单列表array[]
selected选中序号或是否选中的判断函数array | function[]
onSelect交互回调函数function

Demo

<Menu.List dataSource={[{
  label: '测试1',
  value: '测试1-value', // 可选
}]} />

Keywords

rox

FAQs

Package last updated on 06 Jul 2018

Did you know?

Socket

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.

Install

Related posts