-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(components): [rate] bind the textColor property #14092
Conversation
👋 @yj-liuzepeng, thank you for contributing element-plus. |
Hello @yj-liuzepeng, thank you for contributing to element-plus, please see our guideline to see how to make contribution |
🧪 Playground Preview: https://element-plus.run/?pr=14092 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default value in the documentation should be changed to ''
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
* fix(components): [rate] bind the textColor property * add test case * add test case * Update rate.test.tsx * Update rate.md
Please make sure these boxes are checked before submitting your PR, thank you!
dev
branch.Description
🤖 Generated by Copilot at 4ade99d
Added a new prop
textColor
to therate
component to enable customizing the text color. Modifiedrate.vue
to apply the prop value to the text style.Related Issue
Fixes #14091
Explanation of Changes
🤖 Generated by Copilot at 4ade99d
textColor
prop torate
component to customize text color (link)textColor
prop value tospan
element style attribute (link)