Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
bee-menus
Advanced tools
react bee-menus component for tinper-bee
some description...
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
className | 自定义类名 | string | - |
theme | 主题颜色 | String: light dark | - |
mode | 菜单类型,现在支持垂直、水平、和内嵌模式三种 | String: vertical horizontal inline | vertical |
selectedKeys | 当前选中的菜单项 key 数组 | Array | - |
defaultSelectedKeys | 初始选中的菜单项 key 数组 | Array | - |
openKeys | 当前展开的 SubMenu 菜单项 key 数组 | Array | - |
defaultOpenKeys | 初始展开的 SubMenu 菜单项 key 数组 | - | |
onOpenChange | SubMenu 展开/关闭的回调 Function(openKeys: string[]) | noop | |
onSelect | 被选中时调 | Function({ item, key, selectedKeys }) | - |
onDeselect | 取消选中时调用,仅在 multiple 生效 | Function({ item, key, selectedKeys }) | - |
onClick | 点击 menuitem 调用此函数,参数为 {item, key, keyPath} | function | - |
style | 根节点样式 | Object | - |
keyboard | 是否使用键盘操作 | bool | false |
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
disabled | 是否禁用 | Boolean | false |
key | item 的唯一标志 | String | - |
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
disabled | 是否禁用 | Boolean | false |
key | 唯一标志 | String | |
title | 子菜单项值 | String or React.Element | |
children | 子菜单的菜单项 | (MenuItem or SubMenu)[] | |
onTitleClick | 点击子菜单标题 | Function({ eventKey, domEvent }) | |
disabled | 是否禁用 | Boolean | false |
key | item 的唯一标志 | String | - |
$ git clone https://github.com/tinper-bee/bee-menus
$ cd bee-menus
$ npm install
$ npm run dev
FAQs
menus ui component for react
We found that bee-menus demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.