mirror of
https://github.com/System-End/github-readme-stats.git
synced 2026-04-20 00:35:23 +00:00
Refactor: Top langs card: Fix returns tag in docstrings (#3036)
This commit is contained in:
parent
e3e1495a53
commit
8e15656dc2
1 changed files with 2 additions and 2 deletions
|
|
@ -668,7 +668,7 @@ const renderDonutLayout = (langs, width, totalLanguageSize) => {
|
|||
* @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.
|
||||
* @returns {string} No languages data SVG node string.
|
||||
*/
|
||||
const noLanguagesDataNode = ({ color, text, layout }) => {
|
||||
return `
|
||||
|
|
@ -684,7 +684,7 @@ const noLanguagesDataNode = ({ color, text, layout }) => {
|
|||
* @param {object} props Function properties.
|
||||
* @param {import("./types").TopLangOptions["layout"]=} props.layout Input layout string.
|
||||
* @param {boolean=} props.hide_progress Input hide_progress parameter value.
|
||||
* @return {number} Default languages count for input layout.
|
||||
* @returns {number} Default languages count for input layout.
|
||||
*/
|
||||
const getDefaultLanguagesCountByLayout = ({ layout, hide_progress }) => {
|
||||
if (layout === "compact" || hide_progress === true) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue