UNPKG

@sitecore/sc-contenthub-blok

Version:

A UI library for [Sitecore Content Hub](https://doc.sitecore.com/ch/).

13 lines (12 loc) 572 B
import React, { type PropsWithChildren, type ReactElement } from "react"; export interface IconContextProps { iconsUrl: string; iconOverrides: Record<string, string | undefined> | null; } export interface IconProviderProps { value: IconContextProps; } export declare const iconContextDefaults: IconContextProps; export declare const IconContext: React.Context<IconContextProps>; export declare const IconContextProvider: ({ value, children, }: PropsWithChildren<IconProviderProps>) => ReactElement; export declare const useIconContext: () => IconContextProps;