naive-ui/demo/documentation/components/typography/enUS/text.md
2019-12-21 21:31:48 +08:00

493 B

Text

Use different type of text to display different kind of info.

<n-text type="info">Info</n-text>
<n-text type="success">Success</n-text>
<n-text type="warning">Warning</n-text>
<n-text type="error">Error</n-text>
<n-text strong>Strong</n-text>
<n-text italic>Italic</n-text>
<n-text underline>Underline</n-text>
<n-text delete>Delete</n-text>
<n-text code>Code</n-text>
<n-text code delete>Code</n-text>
.n-text {
  display: inline-block;
  margin: 0 8px 12px 0;
}