UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

10 lines (9 loc) 434 B
import { type ReactNode } from 'react'; import type { IconProps } from '../type'; export type IconContentConfig = Omit<IconProps, 'icon' | 'ref'>; export declare const IconContext: import("react").Context<IconContentConfig>; export declare const IconProvider: import("react").NamedExoticComponent<{ children: ReactNode; config?: IconContentConfig | undefined; }>; export declare const useIconContext: () => IconContentConfig;