mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-15 13:38:29 +02:00

* type: React.CSSProperties shoule support CSS var * fix: fix * fix: fix * fix: fix * fix: fix
5 lines
145 B
TypeScript
5 lines
145 B
TypeScript
declare namespace React {
|
|
interface CSSProperties {
|
|
[key: `--${string | number}`]: string | number | undefined; // 允许 CSS 变量
|
|
}
|
|
}
|