/** * Icon: abstract component to render SVG icons. * @module pl-fe/components/icon */ import clsx from 'clsx'; import React from 'react'; import InlineSVG from 'react-inlinesvg'; // eslint-disable-line no-restricted-imports interface IIcon extends React.HTMLAttributes { src: string; id?: string; alt?: string; className?: string; } /** * @deprecated Use the UI Icon component directly. */ const Icon: React.FC = ({ src, alt, className, ...rest }) => (
} />
); export { type IIcon, Icon as default };