UNPKG

@cerberus-design/react

Version:

The Cerberus Design React component library.

25 lines (24 loc) 677 B
import { SystemConfig } from './types'; /** * Create a system configuration object to be used on the CerberusProvider. * @param options The system configuration options you want to customize. * @returns A CerberusProvider-compatible system configuration object. * @example * ```tsx * const icons = defineIcons({ * accordionIndicator: MyAccordionIndicatorIcon, * ... * }) * const config = makeSystemConfig({ * icons, * }) * * // In your app * <CerberusProvider config={config}> * <App /> * </CerberusProvider> * ``` */ export declare function makeSystemConfig(options: SystemConfig): SystemConfig; export * from './defineIcons'; export * from './types';