diff --git a/src/cards/top-languages-card.js b/src/cards/top-languages-card.js index c7aff88967cc9..a757114f48ec7 100644 --- a/src/cards/top-languages-card.js +++ b/src/cards/top-languages-card.js @@ -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 `