mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00

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