We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.1.8
https://tdesign.tencent.com/react/components/comment?tab=demo
actions prop 类型接收一个 Array<TNode>,但是在渲染的时候会在最外层用 button 包裹
Array<TNode>
业务中通常有权限校验以及状态变化(点赞高亮、禁用状态等),这些没法作用在 button 容器上
另外,现在的逻辑看起来 onClick 只能写在里面的元素,好像也不太合理
为啥 actions 不是开放成一个插槽呢,是担心基本 UI 被破坏吗?
No response
The text was updated successfully, but these errors were encountered:
👋 @bemzhao,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
♥️ 有劳 @dreamsqin 尽快确认问题。 确认有效后将下一步计划和可能需要的时间回复给 @bemzhao 。
No branches or pull requests
tdesign-react 版本
1.1.8
重现链接
https://tdesign.tencent.com/react/components/comment?tab=demo
重现步骤
actions prop 类型接收一个
Array<TNode>
,但是在渲染的时候会在最外层用 button 包裹业务中通常有权限校验以及状态变化(点赞高亮、禁用状态等),这些没法作用在 button 容器上
另外,现在的逻辑看起来 onClick 只能写在里面的元素,好像也不太合理
为啥 actions 不是开放成一个插槽呢,是担心基本 UI 被破坏吗?
期望结果
No response
实际结果
No response
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response
The text was updated successfully, but these errors were encountered: