mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-08-05 20:23:01 +00:00
refactor(cards): added typings for cards and fetchers (#1596)
* refactor(cards): added typings for cards and fetchers * chore: move types to separate file
This commit is contained in:
+5
-5
@@ -161,11 +161,11 @@ function flexLayout({ items, gap, direction, sizes = [] }) {
|
||||
|
||||
/**
|
||||
* @typedef {object} CardColors
|
||||
* @prop {string} title_color
|
||||
* @prop {string} text_color
|
||||
* @prop {string} icon_color
|
||||
* @prop {string} bg_color
|
||||
* @prop {string} border_color
|
||||
* @prop {string?=} title_color
|
||||
* @prop {string?=} text_color
|
||||
* @prop {string?=} icon_color
|
||||
* @prop {string?=} bg_color
|
||||
* @prop {string?=} border_color
|
||||
* @prop {keyof typeof import('../../themes')?=} fallbackTheme
|
||||
* @prop {keyof typeof import('../../themes')?=} theme
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user