Refactor: Fixed fallbackColor function docstring (#2954)

This commit is contained in:
Alexandr Garbuzov 2023-07-21 12:43:41 +03:00 committed by GitHub
parent 6835adfc2b
commit ad54117e4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) => {