2
0
mirror of https://github.com/tusen-ai/naive-ui.git synced 2025-01-24 12:45:18 +08:00
naive-ui/demo/documentation/components/button/zhCN/text.demo.md

25 lines
353 B
Markdown
Raw Normal View History

2019-12-31 17:15:55 +08:00
# 文本按钮
有些人也会叫他 `link` 按钮。
2019-12-31 17:15:55 +08:00
```html
<n-button
text
size="large"
>
<template v-slot:icon>
<n-icon>
<train-icon />
</n-icon>
</template>
那车头依然吐着烟
</n-button>
```
```js
2020-11-03 18:56:13 +08:00
import { TrainOutline as TrainIcon } from 'vicons/ionicons-v5'
export default {
components: {
TrainIcon
}
}
2019-12-31 17:15:55 +08:00
```