
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.