collapse
collapse copied to clipboard
feat: 添加headerRender
我现在有个需求是需要让expandIcon紧跟在header的右侧,而不是在panel的最右边。所以添加了一个headerRender的props,类似于expandIcon,它可以接收整个panel的props并返回一个ReactNode以此来最大化用户的自由度。
如果加这个属性OK的话我之后给antd那边提个pr把属性给补充上
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) |