0.0.7 • Published 2 years ago
self-adaption-box-react v0.0.7
self-adaption-box-react
项目简介
自适应缩放容器,适用于react -- pc大屏可视化项目
安装插件
npm i -S self-adaption-box-react
使用插件
import { SelfAdaptionBox } from 'self-adaption-box';
参数说明
参数 | 类型 | 必填 | 说明 | 默认值 |
---|---|---|---|---|
width | number | 是 | 设计图宽度 | 0 |
height | number | 是 | 设计图高度 | 0 |