naive-ui/demo/documentation/components/gradient-text/zhCN/index.demo-entry.md

28 lines
665 B
Markdown
Raw Normal View History

2020-02-03 21:20:21 +08:00
# 渐变文字 Gradient Text
2020-12-12 14:44:44 +08:00
这个东西看起来没啥用,实际上确实没啥用。
2020-02-03 21:20:21 +08:00
## 演示
2020-12-12 14:44:44 +08:00
2019-12-25 18:06:54 +08:00
```demo
basic
size
custom
```
2020-02-03 21:20:21 +08:00
## Props
2020-12-12 14:44:44 +08:00
| 名称 | 类型 | 默认值 | 说明 |
| --- | --- | --- | --- |
| gradient | `string \| { from: string, to: string, deg: number \| string }` | `undefined` | |
| size | `number \| string` | `undefined` | |
| themed-style | `{ [themeName: string]: Object }` | `undefined` | |
| theme | `'light' \| 'dark' \| string` | `undefined` | |
| type | `'primary' \| 'info' \| 'success' \| 'warning' \| 'error'` | `'primary'` | |
2020-02-03 21:20:21 +08:00
## Slots
2020-12-12 14:44:44 +08:00
| 名称 | 参数 | 说明 |
| ------- | ---- | ---- |
| default | `()` | |