Skip to content

fix: re-export the *Transformer method of cssinjs#196

Merged
MadCcc merged 7 commits intoant-design:masterfrom
Wxh16144-forks:wuxh/fix-192
Jun 11, 2025
Merged

fix: re-export the *Transformer method of cssinjs#196
MadCcc merged 7 commits intoant-design:masterfrom
Wxh16144-forks:wuxh/fix-192

Conversation

@Wxh16144
Copy link
Copy Markdown
Member

background: #190
close #192,


export let DEFAULT_THEME_PROVIDER = ThemeProvider as StyledThemeProvider;
export let DEFAULT_THEME_CONTEXT = ThemeContext as Context<Theme>;
export let DEFAULT_THEME_CONTEXT: Context<Theme> = ThemeContext as any;
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

emotion 在 emotion-js/emotion#3281 这里改了一些 TS 类型。

emotion/react 的 Theme其实也是一个空的 interface。 所以,这里直接 any 避免报错

@MadCcc MadCcc merged commit a132d47 into ant-design:master Jun 11, 2025
5 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 4.0.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants