UNPKG

reablocks

Version:
20 lines (19 loc) 676 B
import { FC } from 'react'; export interface IconBlockProps { /** Display name of the icon. */ name: string; /** React component used to render the icon. */ component?: any; /** Image source URL used to render the icon when no component is provided. */ src?: any; /** Additional class names applied to the block. */ className?: string; } export declare const IconBlock: FC<IconBlockProps>; export interface IconBlocksProps { /** Collection of icons to display in the grid. */ icons: IconBlockProps[]; /** Additional class names applied to the grid. */ className?: string; } export declare const IconBlocks: FC<IconBlocksProps>;