Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
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
button-group ui component for react
The npm package bee-button-group receives a total of 5 weekly downloads. As such, bee-button-group popularity was classified as not popular.
We found that bee-button-group demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 16 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.