Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/containers/CardList.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,8 @@ class CardList extends Component {
data={data}
handleDropdownChange={(e, value) => this.handleDropdownChange(value)}
/>
<Carousel>
{funcCards}
</Carousel>
<Carousel children={funcCards} />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't change anything 😞 It doesn't matter how you set the children property, it will end up as props.children in Carousel component. The final result is the same.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't work even if I replace everything in App with example code from https://react-materialize.github.io/#/carousel.


</div>
);
}
Expand Down