mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2025-03-07 15:08:07 +08:00
Refactor: Fixed fallbackColor function docstring (#2954)
This commit is contained in:
parent
6835adfc2b
commit
ad54117e4b
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user