It seems like these two component types only contain index instead of indexPath property.
For example,
// Replace the CollectionComponent protocol.
class CarouselComponent: CollectionComponent { ... }
// With the Component protocol
class CarouselComponent: Component { ... }
It seems like these two component types only contain index instead of indexPath property.
For example,