-
Notifications
You must be signed in to change notification settings - Fork 2
Collection Item
brandonk1234 edited this page Dec 5, 2016
·
4 revisions
A collection item Similarly too a list item takes in a range of different elements. A Collection element usually consist of a content item and an action item underneath.
-
className
- This prop must be astring
. -
contentComponent
- This prop must be acomponent
. -
actionsComponent
- This prop must be acomponent
.
<CollectionItem
className="course-collection-item"
contentComponent={<CollectionItemContent
title="The Title"
body="this body this body this body this body"
/>}
actionsComponent={<CollectionItemAction />}
/>