docs: add JSDoc to cssVar props (#47965)

This commit is contained in:
lijianan 2024-03-20 10:50:36 +08:00 committed by GitHub
parent ff76a640f1
commit ec4591b64a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,8 +53,16 @@ export interface ThemeConfig {
token?: Partial<AliasToken>;
components?: ComponentsConfig;
algorithm?: MappingAlgorithm | MappingAlgorithm[];
hashed?: boolean;
inherit?: boolean;
/**
* @descCN `hashed` antd `false` `ture`
* @descEN Whether to enable the `hashed` attribute. If there is only one version of antd in your application, you can set `false` to reduce the bundle size. defaults to `true`.
*/
hashed?: boolean;
/**
* @descCN `cssVar` CSS `false`
* @descEN Enable CSS variable mode through `cssVar` configuration, This configuration will be inherited. defaults to `false`.
*/
cssVar?:
| {
/**