tdesign-react
tdesign-react copied to clipboard
表格无法传递自定义style和className属性
Describe Framework
tdesign-react
Describe Environment
chrome
Describe the bug 表格组件无法识别style和className属性,导致无法设置内联样式以及自定义className。
【说明】BaseTable API中没有提供style和className 【建议】BaseTableCol中有className的api,看下是否满足需求
【说明】BaseTable API中没有提供style和className 【建议】BaseTableCol中有className的api,看下是否满足需求
一般非特殊情况,原生的 html 属性还是要支持透传到组件的最外层 dom 上的,class、style 只是最常用的属性,其他的也需要。 之前 api 没提出来以为默认会这么处理,因为 vue 是天然支持透传的,后面其他组件也慢慢完善一下吧
嗯,支持下
https://github.com/Tencent/tdesign-react/releases/tag/0.23.0 fixed