naive-ui/demo/documentation/components/button/enUS/basic.demo.md

13 lines
381 B
Markdown

# Basic
There are `default`, `primary`, `info`, `success`, `warning` and `error` type of button.
```html
<n-space>
<n-button>Default</n-button>
<n-button type="primary">Primary</n-button>
<n-button type="info">Info</n-button>
<n-button type="success">Success</n-button>
<n-button type="warning">Warning</n-button>
<n-button type="error">Error</n-button>
</n-space>
```