Skip to content

Commit

Permalink
docs: add text color option
Browse files Browse the repository at this point in the history
  • Loading branch information
forzgc committed Apr 20, 2024
1 parent 664bea8 commit 5e0fe9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ const text = {
| top | number \| () => number | - | (必填)相对父元素y轴的偏移 |
| width | number | - | 文本宽度 |
| content | string | - | 文本内容 |
| color | string | - | 字体颜色 |
| fontSize | number | 14 | 字体大小 |
| fontWeight | string | 'normal' | 字体的粗细程度,一些字体只提供 normal 和 bold 两种值 |
| fontFamily | string | 'sans-serif' | 字体名称 |
Expand Down

0 comments on commit 5e0fe9b

Please sign in to comment.