naive-ui/demo/documentation/components/gradientText/enUS/index.md
2020-02-28 19:46:06 +08:00

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|`()`||