reablocks
Version:
Component library for React
8 lines (7 loc) • 406 B
TypeScript
import { DeepPartial } from '../..';
import { ReablocksTheme } from './theme';
export type PartialReablocksTheme = DeepPartial<ReablocksTheme>;
/**
* Performs a merge deep on the theme.
*/
export declare const extendTheme: (defaultTheme: ReablocksTheme, theme: PartialReablocksTheme, mergeFunction?: (objValue: any, srcValue: any, key: string) => string) => ReablocksTheme & DeepPartial<ReablocksTheme>;