naive-ui/demo/documentation/components/typography/enUS/index.md
2020-01-30 21:03:34 +08:00

957 B

Typography

Naive UI provides some basic styling for common HTML tags. It also provides some components to render text better.

Layout is a kind of art.

Demos

header
tags
text

Props

Text Props

Name Type Default Description
type 'default' | 'success' | 'info' | 'warning' | 'error' 'default'
strong boolean false
italic boolean false
underline boolean false
delete boolean false
code boolean false

H1, H2, H3, H4, H5, H6 Props

Name Type Default Description
align-text boolean false
type 'default' | 'success' | 'info' | 'warning' | 'error' 'default'
prefix 'bar' null

A Props

Name Type Default Description
to string null

Ul, Ol Props

Name Type Default Description
align-text boolean false

Blockquote Props

Name Type Default Description
align-text boolean false