docs(components): [watermark] add slots doc (#15572)

This commit is contained in:
wzc520pyfm
2024-01-18 09:30:03 +08:00
committed by GitHub
parent e15fca80d2
commit c9863647af

View File

@@ -74,3 +74,9 @@ watermark/custom
| fontStyle | font style | ^[enum]`'none' \| 'normal' \| 'italic' \| 'oblique'` | normal |
| textAlign | text align | ^[enum]`'left' \| 'right' \| 'center'\| 'start' \| 'end' ` | center |
| textBaseline | text baseline | ^[enum]`'top' \| 'hanging' \| 'middle' \| 'alphabetic' \| 'ideographic' \| 'bottom'` | top |
### Slots
| Name | Description |
| ------- | ------------------------------ |
| default | container for adding watermark |