File size: 145 Bytes
1e92f2d |
1 2 3 4 5 6 |
declare namespace React {
interface CSSProperties {
[key: `--${string | number}`]: string | number | undefined; // 允许 CSS 变量
}
}
|
1e92f2d |
1 2 3 4 5 6 |
declare namespace React {
interface CSSProperties {
[key: `--${string | number}`]: string | number | undefined; // 允许 CSS 变量
}
}
|