button-zhcn missing text

This commit is contained in:
liumeo 2019-12-31 17:15:55 +08:00
parent 4bbc1edb48
commit fbf4839ee2
2 changed files with 15 additions and 0 deletions

View File

@ -3,6 +3,7 @@
## 演示
```demo
basic
text
disabled
icon
events

View File

@ -0,0 +1,14 @@
# 文本按钮
```html
<n-button text>Default</n-button>
<n-button text type="primary">Primary</n-button>
<n-button text type="info">Info</n-button>
<n-button text type="success">Success</n-button>
<n-button text type="warning">Warning</n-button>
<n-button text type="error">Error</n-button>
```
```css
.n-button {
margin: 0 8px 8px 0;
}
```