Blame view

天文台pc/tianwentai-ui/node_modules/@mui/system/esm/cssVars/createGetCssVar.d.ts 388 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
  /**
   * The benefit of this function is to help developers get CSS var from theme without specifying the whole variable
   * and they does not need to remember the prefix (defined once).
   */
  export default function createGetCssVar<T extends string = string>(prefix?: string): <AdditionalVars extends string = never>(field: T | AdditionalVars, ...fallbacks: (T | AdditionalVars)[]) => string;