Files
Situation-Awareness-Platfor…/src/components/Copy/README.md
2025-03-12 18:41:20 +08:00

16 lines
752 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### Props
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|-----------|-----------------------------|---------|-----------|-------|
| content | 需要被复制的内容,复制优先级比插槽内容要高 | string | — | '' |
| always? | 是否一直显示复制按钮 | boolean | — | false |
| showText? | 是否显示文案插槽内容的显示优先级比content要高 | boolean | — | true |
| size? | 图标的size | string | — | '20px' |
### Slots
| 参数 | 说明 |
|----------|-------------|
| default | 文本插槽 |
| icon | 复制按钮位置对应的插槽 |