reablocks
Version:
Component library for React
10 lines (9 loc) • 392 B
TypeScript
/**
* Customizer for extendTheme that merges class strings instead of replacing them.
* Pass as the third argument to extendTheme to append/override specific Tailwind
* classes rather than wholesale replacing a theme property.
*
* @example
* extendTheme(theme, customTheme, mergeThemeClasses)
*/
export declare function mergeThemeClasses(source: any, target: any): string | undefined;