2
0
mirror of https://github.com/tusen-ai/naive-ui.git synced 2025-02-23 13:31:06 +08:00
naive-ui/demo/documentation/components/button/enUS/text.demo.md

25 lines
358 B
Markdown
Raw Normal View History

2019-12-08 17:21:44 +08:00
# Text Button
Somebody also calls it `link` button.
2019-12-08 17:21:44 +08:00
```html
<n-button
text
size="large"
>
<template v-slot:icon>
<n-icon>
<train-icon />
</n-icon>
</template>
The Engine is Still Spiting Smoke
</n-button>
```
```js
import TrainIcon from 'naive-ui/lib/icons/train-outline.vue'
export default {
components: {
TrainIcon
}
}
2019-12-08 17:21:44 +08:00
```