From 85e57806450c6df10a094d0f2068d364c36244ad Mon Sep 17 00:00:00 2001 From: Chewbacca Date: Wed, 29 Mar 2023 15:42:05 -0400 Subject: [PATCH] Deprecate old Icon component --- app/soapbox/components/icon.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/soapbox/components/icon.tsx b/app/soapbox/components/icon.tsx index 300265ea5..421d937dd 100644 --- a/app/soapbox/components/icon.tsx +++ b/app/soapbox/components/icon.tsx @@ -14,6 +14,9 @@ export interface IIcon extends React.HTMLAttributes { className?: string } +/** + * @deprecated Use the UI Icon component directly. + */ const Icon: React.FC = ({ src, alt, className, ...rest }) => { return (