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

feat: 添加headerRender #231

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

RThong
Copy link

@RThong RThong commented May 9, 2022

我现在有个需求是需要让expandIcon紧跟在header的右侧,而不是在panel的最右边。所以添加了一个headerRender的props,类似于expandIcon,它可以接收整个panel的props并返回一个ReactNode以此来最大化用户的自由度。

如果加这个属性OK的话我之后给antd那边提个pr把属性给补充上

@vercel
Copy link

vercel bot commented May 9, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
collapse ❌ Failed (Inspect) Aug 29, 2022 at 6:31AM (UTC)

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

Successfully merging this pull request may close these issues.

1 participant