Comprehensive components for development with Tuya Panel.
Home Page:https://panel-docs.tuyacn.com
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
andyyxw opened this issue 3 years ago · comments
BrickButton
theme与wrapperStyle/textStyle等style属性一起使用时,theme中的一些样式会丢失
theme
wrapperStyle
textStyle
theme中的一些样式会丢失
能正确合并传入的所有样式
单独使用theme正确显示: 额外传入了wrapperStyle/textStyle后,theme中的样式丢失:
可通过指传递 style 相关属性或者 只传递 theme 来实现业务逻辑