collapse icon indicating copy to clipboard operation
collapse copied to clipboard

feat: 添加headerRender

Open RThong opened this issue 2 years ago • 1 comments

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

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

RThong avatar May 09 '22 12:05 RThong

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)

vercel[bot] avatar May 09 '22 12:05 vercel[bot]