reablocks
Version:
Component library for React
12 lines (10 loc) • 377 B
TypeScript
import { ReablocksTheme } from './theme';
type DeepPartial<T> = {
[P in keyof T]?: DeepPartial<T[P]>;
};
export type PartialReablocksTheme = DeepPartial<ReablocksTheme>;
/**
* Performs a merge deep on the theme.
*/
export declare const extendTheme: (defaultTheme: ReablocksTheme, theme: PartialReablocksTheme) => ReablocksTheme & DeepPartial<ReablocksTheme>;
export {};