0.0.6 • Published 3 years ago
ht-card v0.0.6
Card Components
Installation
Npm安装
$ npm install ht-card
Yarn安装
$ yarn add ht-card
入口文件main.js
import htCard from 'ht-card'
Vue.use(htCard);
使用方法
<ht-card>Button</ht-card>
Props
属性值 | 类型 | 默认值 | 备注 |
---|---|---|---|
title | String | 卡片标题 | |
remark | String | 备注,标题下方的文字 | |
shadow | Boolean or Number | false | 底部阴影 |
headerBorder | Boolean or Number | false | 标题下方的边框 |
Slots
名称 | 备注 |
---|---|
header | 卡片标题 |
action | 卡片标题右边的操作按钮 |
remark | 卡片备注 |
footer | 卡片底部内容 |