naive-ui/demo/documentation/components/button/enUS/basic.md
2019-12-02 02:58:45 +08:00

396 B

Basic

There are default, primary, info, success, warning and error type of button.

<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-button {
  margin: 0 8px 8px 0;
}