amis-rpc-design/node_modules/@ant-design/cssinjs/es/theme/createTheme.d.ts
2023-10-07 19:42:30 +08:00

7 lines
410 B
TypeScript

import Theme from './Theme';
import type { DerivativeFunc, TokenType } from './interface';
/**
* Same as new Theme, but will always return same one if `derivative` not changed.
*/
export default function createTheme<DesignToken extends TokenType, DerivativeToken extends TokenType>(derivatives: DerivativeFunc<DesignToken, DerivativeToken>[] | DerivativeFunc<DesignToken, DerivativeToken>): Theme<any, any>;