mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-09-02 10:19:50 +00:00
Refactor: Fixed fallbackColor function docstring (#2954)
This commit is contained in:
+1
-1
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user