diff options
author | David Cho-Lerat <david.cho-lerat@sonarsource.com> | 2024-04-10 18:10:28 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-04-12 12:49:16 +0000 |
commit | 5291e087c19693dc7b9d9e421403e324e4f02780 (patch) | |
tree | 1d05bb28a2bbd93bb59f3d8d5c113a61b1a0589c /server/sonar-web/design-system/src/components/icons/PinIcon.tsx | |
parent | 9f8265e3add28e5c35b24c7bc2b0acbef2bc8f8f (diff) | |
download | sonarqube-5291e087c19693dc7b9d9e421403e324e4f02780.tar.gz sonarqube-5291e087c19693dc7b9d9e421403e324e4f02780.zip |
SONAR-21973 Add deprecation notices on all MIUI icons that now have an Echoes replacement
Diffstat (limited to 'server/sonar-web/design-system/src/components/icons/PinIcon.tsx')
-rw-r--r-- | server/sonar-web/design-system/src/components/icons/PinIcon.tsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/server/sonar-web/design-system/src/components/icons/PinIcon.tsx b/server/sonar-web/design-system/src/components/icons/PinIcon.tsx index da30977548b..bafc55e50d7 100644 --- a/server/sonar-web/design-system/src/components/icons/PinIcon.tsx +++ b/server/sonar-web/design-system/src/components/icons/PinIcon.tsx @@ -17,7 +17,14 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + import { PinIcon as OcticonPinIcon } from '@primer/octicons-react'; import { OcticonHoc } from './Icon'; +/** @deprecated Use IconPin from Echoes instead, if possible. + * + * Be aware that the full icon set is not yet available in Echoes, and therefore you may not be able + * to replace all of the icons yet. There are situations where it is OK to ignore this deprecation + * warning when revisiting old code, but all new code should use the icons from Echoes. + */ export const PinIcon = OcticonHoc(OcticonPinIcon, 'PinIcon'); |