mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
23 lines
428 B
Markdown
23 lines
428 B
Markdown
# Gradient Text
|
|
Why using gradient text? Rita applied it on some alert information. It looks quite good, so it's here.
|
|
|
|
## Demos
|
|
|
|
```demo
|
|
basic
|
|
size
|
|
custom
|
|
```
|
|
|
|
## Props
|
|
|Name|Type|Default|Description|
|
|
|-|-|-|-|
|
|
|type|`'default' \| 'info' \| 'success' \| 'warning' \| 'error'`||**required**|
|
|
|size|`number \| string`|`null`||
|
|
|gradient|`string \| object`|`null`||
|
|
|
|
## Slots
|
|
|Name|Parameters|Description|
|
|
|-|-|-|
|
|
|default|`()`||
|