mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +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 变量
|
|
}
|
|
}
|