Ant-design-mobile: How can I use Accordion and ListView together?

Created on 30 Oct 2017  ·  4Comments  ·  Source: ant-design/ant-design-mobile

What problem does this feature solve?

use "Accordion.Panel" as a row in ListView

What does the proposed API look like?

<Accordion accordion openAnimation={{}} className="my-accordion">
          renderPanel={row}
</Accordion>
Usage enhancement

All 4 comments

It's interesting but It looks a bit hard to realize. What is more detailed advice? Detailed API design.

@PierceTsu I made an example for you. Also you can use Accordion.Panel as row of ListView

https://codepen.io/silentcloud/pen/MOJNPG

Hello @PierceTsu, we use GitHub issues to trace bugs or discuss plans of Ant Design. So, please don't ask usage questions here. You can try to ask questions on Stack Overflow or Segment Fault, then apply tag antd and react to your question.

That's what I want ,reall appreciate for your help @silentcloud .Thanks for your reminding @ant-design-bot

Was this page helpful?
0 / 5 - 0 ratings