UNPKG

@redocly/theme

Version:

Shared UI components lib

12 lines (11 loc) 635 B
import * as React from 'react'; export type GenericIconProps = { icon: string | React.ReactNode; srcSet?: string; rawContent?: string; size?: string; color?: string; alt?: string; className?: string; }; export declare function GenericIcon({ icon, srcSet, rawContent, size, color, alt, className, }: GenericIconProps): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element | null | undefined;