mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
680 B
680 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 depth="primary">Primary Depth</n-text>
<n-text depth="secondary">Secondary Depth</n-text>
<n-text depth="tertiary">Tertiary Depth</n-text>
<n-text as="div">As Div</n-text>