UNPKG

@cerberus-design/react

Version:

The Cerberus Design React component library.

16 lines (15 loc) 534 B
import { DefinedIcons, IconType } from './types'; /** * Defines the icons that will be used in Cerberus React components via the * CerberusProvider. * @param icons The icons that will be used in Cerberus React components. * @returns Icons object compatible with the CerberusProvider SystemConfig. * @example * ```tsx * const icons = defineIcons({ * accordionIndicator: MyAccordionIndicatorIcon, * ... * }) * ``` */ export declare function defineIcons<T extends IconType>(icons: DefinedIcons): Required<DefinedIcons<T>>;