UNPKG

@bothub-chat/ui

Version:

Bothub UI Components

15 lines (14 loc) 574 B
import React from 'react'; export interface IconContextValue { size?: number; fill?: string; stroke?: string; } export declare const IconContext: React.Context<IconContextValue | undefined>; export type IconProviderProps = IconContextValue & React.PropsWithChildren; export declare const IconProvider: React.FC<IconProviderProps>; export interface IconConsumerProps { children: (value?: IconContextValue) => React.ReactNode; } export declare const IconConsumer: React.FC<IconConsumerProps>; export declare const useIconOrNull: () => IconContextValue | null;