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