+
+ Supply Chain Network
+
+
+ Organizations that have shared information about this production
+ location.
+
+
+ {typeCounts.length > 0 && (
+
+ {typeCounts.map(({ type, count }) => (
+
+ {count}{' '}
+ {pluralizeContributorType(type, count)}
+
+ ))}
+
+ )}
+
+ {sortedPublicContributors.length > 0 && (
+
+ {sortedPublicContributors.map(contributor => (
+
+ {contributor.contributor_name}
+
+ ))}
+
+ )}
+
+ {totalCount > 0 && (
+
+ )}
+
+
setIsOpen(false)}
+ totalCount={totalCount}
+ typeCounts={typeCounts}
+ publicContributors={sortedPublicContributors}
+ nonPublicContributors={aggregatedNonPublic}
+ />
+
+ );
+};
+
+SupplyChain.propTypes = {
+ contributors: arrayOf(
+ shape({
+ id: number,
+ contributor_name: string,
+ contributor_type: string,
+ list_name: string,
+ count: number,
+ }),
+ ),
+};
+
+SupplyChain.defaultProps = {
+ contributors: [],
+};
-import productionLocationDetailsSupplyChainStyles from './styles';
-
-const ProductionLocationDetailsSupplyChain = ({ classes }) => (
-