@@ -22,17 +22,17 @@ const RANK_ONLY_CARD_DEFAULT_WIDTH = 290;
22
22
/**
23
23
* Create a stats card text item.
24
24
*
25
- * @param {object } createTextNodeParams Object that contains the createTextNode parameters.
26
- * @param {string } createTextNodeParams .icon The icon to display.
27
- * @param {string } createTextNodeParams .label The label to display.
28
- * @param {number } createTextNodeParams .value The value to display.
29
- * @param {string } createTextNodeParams .id The id of the stat.
30
- * @param {string= } createTextNodeParams .unitSymbol The unit symbol of the stat.
31
- * @param {number } createTextNodeParams .index The index of the stat.
32
- * @param {boolean } createTextNodeParams .showIcons Whether to show icons.
33
- * @param {number } createTextNodeParams .shiftValuePos Number of pixels the value has to be shifted to the right.
34
- * @param {boolean } createTextNodeParams .bold Whether to bold the label.
35
- * @param {string } createTextNodeParams .number_format The format of numbers on card.
25
+ * @param {object } params Object that contains the createTextNode parameters.
26
+ * @param {string } params .icon The icon to display.
27
+ * @param {string } params .label The label to display.
28
+ * @param {number } params .value The value to display.
29
+ * @param {string } params .id The id of the stat.
30
+ * @param {string= } params .unitSymbol The unit symbol of the stat.
31
+ * @param {number } params .index The index of the stat.
32
+ * @param {boolean } params .showIcons Whether to show icons.
33
+ * @param {number } params .shiftValuePos Number of pixels the value has to be shifted to the right.
34
+ * @param {boolean } params .bold Whether to bold the label.
35
+ * @param {string } params .number_format The format of numbers on card.
36
36
* @returns {string } The stats card text item SVG object.
37
37
*/
38
38
const createTextNode = ( {
0 commit comments