Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
react bee-grid component for tinper-bee
栅格布局组件,包含container,row和col
npm install --save bee-grid
import { Con, Row, Col } from 'bee-grid';
ReactDOM.render(
<Con>
<Row>
<Col md={6} >
</Col>
</Row>
</Con>,
document.body);
<link rel="stylesheet" href="./node_modules/build/bee-grid.css">
import "./node_modules/src/Grid.scss"
//或是
import "./node_modules/build/bee-grid.css"
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
componentClass | 组件根元素 | element/ReactElement | div |
fluid | 是否为非定宽 | boolean | false |
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
componentClass | 组件根元素 | element/ReactElement | div |
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
xs | 移动设备显示列数(<768px) | number | - |
sm | 小屏幕桌面设备显示列数(≥768px) | number | - |
md | 中等屏幕设备显示列数(≥992px) | number | - |
lg | 大屏幕设备显示列数(≥1200px) | number | - |
xsPull | 移动屏幕设备到右边距列数 | number | - |
smPull | 小屏幕设备到右边距列数 | number | - |
mdPull | 中等屏幕设备到右边距列数 | number | - |
lgPull | 大屏幕设备到右边距列数 | number | - |
xsPush | 移动屏幕设备到左边距列数 | number | - |
smPush | 小屏幕设备到左边距列数 | number | - |
mdPush | 中等屏幕设备到左边距列数 | number | - |
lgPush | 大屏幕设备到左边距列数 | number | - |
xsOffset | 移动设备偏移列数 | number | - |
smOffset | 小屏幕设备偏移列数 | number | - |
mdOffset | 中等屏幕设备偏移列数 | number | - |
lgOffset | 大屏幕设备偏移列数 | number | - |
componentClass | 组件根元素 | element/ReactElement | div |
以上列数设置,只能设置1-12的数字。
$ git clone https://github.com/tinper-bee/bee-col
$ cd bee-grid
$ npm install
$ npm run dev
FAQs
grid ui component for react
The npm package bee-grid receives a total of 3 weekly downloads. As such, bee-grid popularity was classified as not popular.
We found that bee-grid demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.