Collapse
import { Collapse } from 'antd'
<Collapse defaultActiveKey={['2']}>
<Panel header="This is panel header 1" key="1">
<p>A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.</p>
</Panel>
<Panel header="This is panel header 2" key="2">
<p>A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.</p>
</Panel>
<Panel header="This is panel header 3" key="3" disabled>
<p>A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.</p>
</Panel>
</Collapse>
API
Collapse
Collapse.Panel
Last updated