Fix no languages data node function docstring (#2782)

* Fix docstring for noLanguagesDataNode function

* dev
This commit is contained in:
Alexandr Garbuzov 2023-06-07 10:21:19 +03:00 committed by GitHub
parent dfe0766cbb
commit 606775c33c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -661,9 +661,13 @@ const renderDonutLayout = (langs, width, totalLanguageSize) => {
};
/**
* Creates the no coding activity SVG node.
* Creates the no languages data SVG node.
*
* @param {{color: string, text: string, layout: import("./types").TopLangOptions["layout"]}} The function prop
* @param {object} props Object with function properties.
* @param {string} props.color No languages data text color.
* @param {string} props.text No languages data translated text.
* @param {import("./types").TopLangOptions["layout"] | undefined} props.layout Card layout.
* @return {string} No languages data SVG node string.
*/
const noLanguagesDataNode = ({ color, text, layout }) => {
return `