Deprecate old Icon component

develop^2
Chewbacca 2023-03-29 15:42:05 -04:00
rodzic 20960d7238
commit 85e5780645
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -14,6 +14,9 @@ export interface IIcon extends React.HTMLAttributes<HTMLDivElement> {
className?: string
}
/**
* @deprecated Use the UI Icon component directly.
*/
const Icon: React.FC<IIcon> = ({ src, alt, className, ...rest }) => {
return (
<div