amis-rpc-design/node_modules/antd/es/theme/useToken.d.ts
2023-10-07 19:42:30 +08:00

12 lines
506 B
TypeScript

import type { Theme } from '@ant-design/cssinjs';
import type { AliasToken, GlobalToken, MapToken, SeedToken } from './interface';
import type { DesignTokenProviderProps } from './context';
export declare const getComputedToken: (originToken: SeedToken, overrideToken: DesignTokenProviderProps['components'] & {
override?: Partial<AliasToken>;
}, theme: Theme<any, any>) => any;
export default function useToken(): [
theme: Theme<SeedToken, MapToken>,
token: GlobalToken,
hashId: string
];