neumedia-space-bar
v1.0.11
Published
元素间的上下间隔,统一间隔距离。
Downloads
7
Readme
元素上下间隔
元素间的上下间隔,统一间隔距离。
更新历史
| 版本号 | 作者 | 更新记录 | 更新时间 | | ------ | ----------------------- | ------------- | ---------- | | 1.0.0 | [email protected] | 初始版本 | 2020.07.31 | | 1.0.11 | [email protected] | 打包上传npmjs | 2020.08.18 | | | | | |
安装
npm install neumedia-space-bar
导入
import SpaceBar from 'neumedia-space-bar';
export default {
components: {
SpaceBar
}
}
使用
<space-bar size="large"></space-bar>
API
Props
| 说明 | 说明 | 类型 | 默认值 | | ---- | -------- | ------ | --------- | | size | 间隔大小 | String | 'default' |
size
取值范围,展示格式类型
| 值 | 说明 | | ------- | ---- | | small | 5px | | default | 10px | | large | 20px | | huge | 50px |