naive-ui/demo/documentation/components/button/zhCN/disabled.demo.md

16 lines
142 B
Markdown
Raw Normal View History

2019-09-21 17:03:05 +08:00
# 禁用
2019-12-02 02:58:45 +08:00
按钮可以被禁用。
2019-09-20 00:27:06 +08:00
```html
<n-button
disabled
>
2020-02-03 20:45:06 +08:00
不许点
2019-09-20 00:27:06 +08:00
</n-button>
```
```css
.n-button {
margin: 0 8px 8px 0;
}
2019-12-02 02:58:45 +08:00
```
2020-02-03 20:45:06 +08:00