Skip to content

fix(storybook): replace deprecated 'creditcard' icon with 'credit' - #180

Merged
Gaubee merged 1 commit into
mainfrom
fix/storybook-icon-warning
Jan 7, 2026
Merged

Gaubee merged 1 commit into
mainfrom
fix/storybook-icon-warning

Conversation

@Gaubee

@Gaubee Gaubee commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

修复 Storybook 启动时的废弃警告:

Use of an unknown prop (creditcard) in the Icons component. The Icons component is deprecated.

将 .storybook/preview.tsx 中 currency globalType toolbar 的 icon: 'creditcard' 替换为有效的图标名称 icon: 'credit'。

@Gaubee
Gaubee merged commit d533cc2 into main Jan 7, 2026
5 checks passed
@Gaubee
Gaubee deleted the fix/storybook-icon-warning branch January 7, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant