survey-creator-core
Version:
Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.
7 lines (6 loc) • 376 B
TypeScript
export type ThemesHash<T> = {
[index: string]: T | boolean;
__surveyjs_internal_themes_hash: boolean;
};
export declare function registerTheme<T>(registerThemeCallback: (theme: T) => void, ...themes: Array<T | ThemesHash<T>>): void;
export declare function sortDefaultThemes(defaultThemesOrder: Array<string>, themes: Array<string>, resultArray: Array<string>): void;