naive-ui/demo/documentation/components/gradientText/zhCN/index.md

24 lines
622 B
Markdown
Raw Normal View History

2020-02-03 21:20:21 +08:00
# 渐变文字 Gradient Text
为啥要弄这么个东西呢Rita 在一些警告信息上试了试渐变文字,我觉得看起来还挺好的。所以就有了这么个东西。
## 演示
2019-12-25 18:06:54 +08:00
```demo
basic
size
custom
```
2020-02-03 21:20:21 +08:00
## Props
2020-02-07 23:40:07 +08:00
|名称|类型|默认值|说明|
2020-02-03 21:20:21 +08:00
|-|-|-|-|
|theme|`'light' \| 'dark'`|`null`||
2020-03-12 21:32:47 +08:00
|themed-style|`{ [themeName: string]: object }`|`null`||
|type|`'primary' \| 'info' \| 'success' \| 'warning' \| 'error'`|`'primary'`||
|size|`number \| string`|`null`||
|gradient|`string \| { from: string, to: string, deg: number \| string }`|`null`||
2020-02-03 21:20:21 +08:00
## Slots
2020-02-07 23:40:07 +08:00
|名称|参数|说明|
2020-02-03 21:20:21 +08:00
|-|-|-|
|default|`()`||