UNPKG

@c15t/react

Version:

Developer-first CMP for React: cookie banner, consent manager, preferences centre. GDPR ready with minimal setup and rich customization

11 lines 461 B
import type { ClassNameStyle, ThemeValue } from '../types/theme'; /** * Merges two styles objects, handling theme values and style properties. * * @param style1 - The first style object to merge * @param style2 - The second style object to merge (Takes precedence over style1) * * @returns The merged styles object */ export declare function mergeStyles(style1: ThemeValue, style2?: ThemeValue): ClassNameStyle; //# sourceMappingURL=merge-styles.d.ts.map