Fix docstring for noCodingActivityNode function (#2781)

This commit is contained in:
Alexandr Garbuzov
2023-06-07 10:20:59 +03:00
committed by GitHub
parent 4044a0b666
commit dfe0766cbb
+4 -1
View File
@@ -25,7 +25,10 @@ const languageColors = require("../common/languageColors.json"); // now works
/**
* Creates the no coding activity SVG node.
*
* @param {{color: string, text: string}} The function prop
* @param {object} props The function properties.
* @param {string} props.color No coding activity text color.
* @param {string} props.text No coding activity translated text.
* @return {string} No coding activity SVG node string.
*/
const noCodingActivityNode = ({ color, text }) => {
return `