Reputation: 2948
Is there any option to display uncontrolled collapse as opened?
Here is the default code for uncontrolled collapse, it is shown as collapsed tab.
<Button color="primary" id="toggler">
Toggle
</Button>
<UncontrolledCollapse toggler="#toggler">
<Card>
<CardBody>
Lorem ipsum dolor sit amet consectetur adipisicing...
</CardBody>
</Card>
</UncontrolledCollapse>
Upvotes: 1
Views: 364
Reputation: 427
Yes, just add:
<UncontrolledCollapse toggler="#toggler" defaultOpen={true}>
...
</UncontrolledCollapse>
Upvotes: 2