mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2024-12-27 06:25:47 +08:00
Fix no languages data node function docstring (#2782)
* Fix docstring for noLanguagesDataNode function * dev
This commit is contained in:
parent
dfe0766cbb
commit
606775c33c
@ -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 `
|
||||
|
Loading…
Reference in New Issue
Block a user