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

如何封装组件api? #5574

Closed
1 task
duud666 opened this issue Sep 21, 2023 · 1 comment
Closed
1 task

如何封装组件api? #5574

duud666 opened this issue Sep 21, 2023 · 1 comment

Comments

@duud666
Copy link

duud666 commented Sep 21, 2023

  • I have searched the issues of this repository and believe that this is not a duplicate.

f2 版本 4.0.48

What problem does this feature solve?

背景上层封装使用,可抽离公共。比如tooltip,封装使用。类似如下

What does the proposed API look like?

const MyTooltip = (props) =>{

return <Tooltip {...props}/>
}

@pearmini
Copy link
Member

F2 的 issue 可以去 F2 仓库提:https://github.com/antvis/F2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants