
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
bee-button-group
Advanced tools
react bee-button-group component for tinper-bee
可组合按钮的组合组件
先进行下载bee-button-group包
npm install --save bee-button-group
组件调用
import ButtonGroup from 'bee-button-group';
import Button from 'bee-button';
ReactDOM.render(
<ButtonGroup vertical>
<Button size="lg" type="primary">按钮一</Button>
<Button size="lg" type="primary">按钮二</Button>
<Button size="lg" type="primary">按钮三</Button>
</ButtonGroup>
, document.getElementById('target'));
<link rel="stylesheet" href="./node_modules/build/bee-button-group.css">
import "./node_modules/src/ButtonGroup.scss"
//或是
import "./node_modules/build/bee-button-group.css"
(tinper-bee组件库使用方法)[]
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
vertical | 是否垂直 | boolean | false |
justified | 水平均分 | boolean | false |
block | 是否充满父元素(只有垂直排列时,可使用) | boolean | false |
className | 类名 | string | '' |
list | 按钮信息列表(如果你不想自己写按钮,也可以写一些描述信息,自动生成按钮) | array(要有key,title,其它Button支持的props) | [] |
$ git clone https://github.com/tinper-bee/bee-button-group
$ cd bee-button-group
$ npm install -g bee-tools
$ npm install
$ npm run dev
FAQs
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
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.