import type { HTMLAttributes, ReactNode } from 'react'; import React from 'react'; export interface IconProps extends HTMLAttributes { /** * A React component that will be rendered as an icon. */ component: ReactNode; /** * ID to find this component in testing tools (e.g.: cypress, testing library, and jest). */ testId?: string; } declare const Icon: React.ForwardRefExoticComponent>; export default Icon;