Skip to content

Commit

Permalink
Fix docstring for noCodingActivityNode function (anuraghazra#2781)
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty541 authored Jun 7, 2023
1 parent 4044a0b commit dfe0766
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cards/wakatime-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 `
Expand Down

0 comments on commit dfe0766

Please sign in to comment.