Skip to content

[Statistic] Statistic 属性 className不起作用 #3088

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

Closed
qinbx opened this issue Sep 9, 2024 · 2 comments
Closed

[Statistic] Statistic 属性 className不起作用 #3088

qinbx opened this issue Sep 9, 2024 · 2 comments
Labels
to be published fixed, not be published

Comments

@qinbx
Copy link

qinbx commented Sep 9, 2024

tdesign-react 版本

1.8.1

重现链接

https://stackblitz.com/edit/react-pjuthc?file=src%2Fdemo.tsx

重现步骤

https://tdesign.tencent.com/react/components/statistic?tab=api
文档中有 className 属性

<Statistic title="xxx" className="customClassName" value={82.76} unit="%" trend="decrease" />
如上中的 className="customClassName" 不起使用。

期望结果

Statistic组件实例中会出现对应的className

实际结果

Statistic组件实例中未添加上对应的className

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

github-actions bot commented Sep 9, 2024

👋 @qinbx,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@uyarn
Copy link
Collaborator

uyarn commented Sep 12, 2024

fixed 1.9.0

@uyarn uyarn closed this as completed Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be published fixed, not be published
Projects
None yet
Development

No branches or pull requests

3 participants