File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import { Card, Button } from '../../src'
1818<div>卡片内容</div>
1919</template>
2020<template v-slot:header-extra>
21- <nt-button type=" text" >按钮</nt-button>
21+ <nt-button text>按钮</nt-button>
2222</template>
2323</nt-card>
2424 </textarea >
@@ -28,7 +28,7 @@ import { Card, Button } from '../../src'
2828<div >卡片内容</div >
2929</template >
3030<template v-slot:header-extra >
31- <Button type = " text " >按钮</Button >
31+ <Button text >按钮</Button >
3232</template >
3333</Card >
3434</template >
@@ -68,7 +68,7 @@ import { Card, Button } from '../../src'
6868<div>卡片内容</div>
6969</template>
7070<template v-slot:header-extra>
71- <nt-button type=" text" >按钮</nt-button>
71+ <nt-button text>按钮</nt-button>
7272</template>
7373</nt-card>
7474 </textarea >
@@ -78,7 +78,7 @@ import { Card, Button } from '../../src'
7878<div >卡片内容</div >
7979</template >
8080<template v-slot:header-extra >
81- <Button type =" text " >按钮</Button >
81+ <Button text type =" primary " >按钮</Button >
8282</template >
8383</Card >
8484</template >
Original file line number Diff line number Diff line change @@ -72,3 +72,4 @@ import IconList from '../../src/app_components/IconList.vue'
7272- 推荐图标库:[ iconify] ( https://iconify.design/ ) 它提供了超过 200000 个开源图标。
7373- 两种方式可以使用 ` iconify ` : [ @iconify/vue ] ( https://www.npmjs.com/package/@iconify/vue ) 和 [ unplugin-icons] ( https://github.com/unplugin/unplugin-icons )
7474- 推荐使用 [ unplugin-icons] ( https://github.com/unplugin/unplugin-icons ) 既能离线加载,也能自定义图标
75+ - 其它图标库: [ Lucide] ( https://lucide.dev/ )
You can’t perform that action at this time.
0 commit comments