Skip to content
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

🧐[问题]ProCard 没有ref 属性 怎么设置ref #2831

Closed
elainezhou0419 opened this issue May 25, 2021 · 5 comments · Fixed by #2842
Closed

🧐[问题]ProCard 没有ref 属性 怎么设置ref #2831

elainezhou0419 opened this issue May 25, 2021 · 5 comments · Fixed by #2842
Labels
❤️ help wanted Extra attention is needed

Comments

@elainezhou0419
Copy link

🧐 问题描述

ProCard 没有ref 属性 怎么设置ref

@github-actions
Copy link

以下的 Issues 可能会帮助到你 / The following issues may help you

@chenshuai2144
Copy link
Contributor

你需要ref 做什么?

@chenshuai2144 chenshuai2144 added the ❤️ help wanted Extra attention is needed label May 25, 2021
@github-actions
Copy link

Hello @elainezhou0419. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please provide changelog/TypeScript/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution!

你好 @elainezhou0419,我们完全同意你的提议/反馈,欢迎直接在此仓库 创建一个 Pull Request 来解决这个问题。请务必提供改动所需相应的 changelog、TypeScript 定义、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献。

giphy

@elainezhou0419
Copy link
Author

你需要ref 做什么?

我需要获取这个节点。然后用jsPDF生成pdf文件。

@DerrickTel
Copy link
Contributor

DerrickTel commented May 25, 2021

直接设置是有的,只是ts类型里面没有。我补一下ts类型。
https://codesandbox.io/s/jichuqiapian-forked-xi34j?file=/App.tsx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❤️ help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants