2024-08-02 18:19:39 +08:00
|
|
|
import type { GlobalTheme } from '../config-provider';
|
2024-01-29 09:26:07 +08:00
|
|
|
type ComponentKey = Exclude<keyof GlobalTheme, 'name'>;
|
|
|
|
type ComponentThemes = Array<Exclude<GlobalTheme[ComponentKey], undefined>>;
|
|
|
|
export declare function createTheme(name: string, componentThemes: ComponentThemes): GlobalTheme;
|
|
|
|
export declare function createTheme(componentThemes: ComponentThemes): GlobalTheme;
|
|
|
|
export {};
|