
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
bee-button
Advanced tools
react button component for tinper-bee
可定制的按钮组件
先进行下载bee-button包
npm install --save bee-button
组件调用
import Button from 'bee-button';
ReactDOM.render(
<Button type="primary" size="lg" style={{color: '#000'}}>Button</Button>
, document.getElementById('target'));
<link rel="stylesheet" href="./node_modules/bee-button/build/Button.css">
import "./node_modules/bee-button/src/Button.scss"
//或是
import "./node_modules/bee-button/build/Button.css"
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
size | 按钮大小(lg xg md sm ) | string | - |
colors | 颜色(primary/secondary/accent/success/info/warning/danger/dark/light/default) | string | '' |
shape | 形状(block/border/round/squared/floating/pillRight/pillLeft/icon) | string | '' |
disabled | 是否禁用(disabled 或 true false ) | boolean | false |
bordered | 是否是边框型(bordered 或 true false ) | boolean | false |
className | 增加额外的class | string | '' |
htmlType | html dom 的 type 属性(submit button reset ) | string | button |
style | style 属性 | object | '' |
$ npm install -g bee-tools
$ git clone https://github.com/tinper-bee/bee-button
$ cd bee-button
$ npm install
$ npm run dev
2.0.3 (2019-02-26)
<a name="2.0.2"></a>
FAQs
tinper-bee button ui component for react
The npm package bee-button receives a total of 58 weekly downloads. As such, bee-button popularity was classified as not popular.
We found that bee-button 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.