@@ -20,14 +20,16 @@ const RANK_CARD_DEFAULT_WIDTH = 450;
20
20
/**
21
21
* Create a stats card text item.
22
22
*
23
- *@param {object[] } createTextNodeParams Object that contains the createTextNode parameters.
23
+ *@param {object } createTextNodeParams Object that contains the createTextNode parameters.
24
+ *@param {string } createTextNodeParams.icon The icon to display.
24
25
*@param {string } createTextNodeParams.label The label to display.
25
- *@param {string } createTextNodeParams.value The value to display.
26
+ *@param {number } createTextNodeParams.value The value to display.
26
27
*@param {string } createTextNodeParams.id The id of the stat.
27
28
*@param {number } createTextNodeParams.index The index of the stat.
28
29
*@param {boolean } createTextNodeParams.showIcons Whether to show icons.
29
30
*@param {number } createTextNodeParams.shiftValuePos Number of pixels the value has to be shifted to the right.
30
31
*@param {boolean } createTextNodeParams.bold Whether to bold the label.
32
+ *@param {string } createTextNodeParams.number_format The format of numbers on card.
31
33
*@returns
32
34
*/
33
35
const createTextNode = ( {