+
{ props.words.title }
+
{ props.words.cloud.map(word => (
-
+
{ word.word }
))
@@ -29,7 +32,7 @@ WordCloud.propTypes = {
title: PropTypes.string,
cloud: PropTypes.array,
}).isRequired,
- toggleWordCloudModal: PropTypes.func.isRequired,
+ openWordCloudModal: PropTypes.func.isRequired,
};
export default WordCloud;