
Security News
Insecure Agents Podcast: Certified Patches, Supply Chain Security, and AI Agents
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.
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
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.

Security News
The planned feature introduces a review step before releases go live, following the Shai-Hulud attacks and a rocky migration off classic tokens that disrupted maintainer workflows.