react-elegant-ui
Version:
Elegant UI components, made by BEM best practices for react
20 lines (19 loc) • 526 B
TypeScript
import { Nullable } from '../../types/utility-types';
import { ThemeWhitepaper } from '../types';
type ConfigureRootThemeOptions = {
/**
* Theme to apply
*/
theme?: ThemeWhitepaper | Record<string, string>;
/**
* DOM element for apply theme
*
* @default HTMLBodyElement
*/
root?: Nullable<Element>;
};
/**
* Helper to set theme to root node. This theme will be global
*/
export declare const configureRootTheme: ({ theme, root, }: ConfigureRootThemeOptions) => void;
export {};