Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita4d6fe1

Browse files
authored
Fixed card constructor docstring to resolve vscode type errors (anuraghazra#2674)
1 parentcb99414 commita4d6fe1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎src/common/Card.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ class Card {
1212
*@param {string?=} args.customTitle Card custom title.
1313
*@param {string?=} args.defaultTitle Card default title.
1414
*@param {string?=} args.titlePrefixIcon Card title prefix icon.
15+
*@param {object?=} args.colors Card colors arguments.
16+
*@param {string} args.colors.titleColor Card title color.
17+
*@param {string} args.colors.textColor Card text color.
18+
*@param {string} args.colors.iconColor Card icon color.
19+
*@param {string|Array} args.colors.bgColor Card background color.
20+
*@param {string} args.colors.borderColor Card border color.
1521
*@returns {Card} Card instance.
1622
*/
1723
constructor({

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp