From ad54117e4b26d7d310fe090c6081657b6b8e0aef Mon Sep 17 00:00:00 2001 From: Alexandr Garbuzov Date: Fri, 21 Jul 2023 12:43:41 +0300 Subject: [PATCH] Refactor: Fixed fallbackColor function docstring (#2954) --- src/common/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/utils.js b/src/common/utils.js index 1d16ef6..824af24 100644 --- a/src/common/utils.js +++ b/src/common/utils.js @@ -132,7 +132,7 @@ const isValidGradient = (colors) => { * Retrieves a gradient if color has more than one valid hex codes else a single color. * * @param {string} color The color to parse. - * @param {string} fallbackColor The fallback color. + * @param {string | string[]} fallbackColor The fallback color. * @returns {string | string[]} The gradient or color. */ const fallbackColor = (color, fallbackColor) => {