Refactor: Fixed fallbackColor function docstring (#2954)

This commit is contained in:
Alexandr Garbuzov
2023-07-21 11:43:41 +02:00
committed by GitHub
parent 6835adfc2b
commit ad54117e4b
+1 -1
View File
@@ -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) => {