-
-
Notifications
You must be signed in to change notification settings - Fork 51k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: resolve missing component tokens #52406
Conversation
Run & review this pull request in StackBlitz Codeflow. |
👁 Visual Regression Report for PR #52406 Failed ❌
Important There are 3 diffs found in this PR: 🔄
|
WalkthroughThis pull request focuses on improving the documentation by resolving missing component tokens. The changes involve modifying the Changes
|
@@ -5,7 +5,7 @@ import { resetComponent } from '../../style'; | |||
import type { FullToken, GenerateStyle, GetDefaultToken } from '../../theme/internal'; | |||
import { genStyleHooks, mergeToken } from '../../theme/internal'; | |||
|
|||
export type ComponentToken = { | |||
export interface ComponentToken { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed ComponentToken
from a type to an interface to improve documentation clarity.
@@ -4,7 +4,7 @@ import { Keyframes, unit } from '@ant-design/cssinjs'; | |||
import type { CSSUtil, FullToken, GenerateStyle, GetDefaultToken } from '../../theme/internal'; | |||
import { genStyleHooks, mergeToken } from '../../theme/internal'; | |||
|
|||
export type ComponentToken = { | |||
export interface ComponentToken { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed ComponentToken
from a type to an interface to improve documentation clarity.
More templates
commit: |
Bundle ReportBundle size has no change ✅ |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #52406 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 763 763
Lines 13775 13774 -1
Branches 3605 3604 -1
=========================================
- Hits 13775 13774 -1 ☔ View full report in Codecov by Sentry. |
中文版模板 / Chinese template
🤔 This is a ...
🔗 Related Issues
💡 Background and Solution
📝 Change Log