diff options
author | David Cho-Lerat <david.cho-lerat@sonarsource.com> | 2024-02-28 17:30:02 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-02-28 20:02:44 +0000 |
commit | 0c7599320b1187c21683cf50ec29d5f7569de16a (patch) | |
tree | 7380213418c05c689bb2d4895b68ea9ec53f6817 /server/sonar-web/design-system/src/components | |
parent | 32a30e66074ba50c4cf676ddca00166388a9324a (diff) | |
download | sonarqube-0c7599320b1187c21683cf50ec29d5f7569de16a.tar.gz sonarqube-0c7599320b1187c21683cf50ec29d5f7569de16a.zip |
SONAR-21298 Showcase Echoes' Spinner component in a few places
Diffstat (limited to 'server/sonar-web/design-system/src/components')
-rw-r--r-- | server/sonar-web/design-system/src/components/Spinner.tsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/server/sonar-web/design-system/src/components/Spinner.tsx b/server/sonar-web/design-system/src/components/Spinner.tsx index d76bbfef775..f8215fc5739 100644 --- a/server/sonar-web/design-system/src/components/Spinner.tsx +++ b/server/sonar-web/design-system/src/components/Spinner.tsx @@ -33,6 +33,13 @@ interface Props { placeholder?: boolean; } +/** @deprecated Use Spinner from Echoes instead. + * + * Some of the props have changed or been renamed: + * - ~`customSpinner`~ has been removed + * - `loading` is now `isLoading` + * - `placeholder` is now `hasPlaceholder` + */ export function Spinner(props: React.PropsWithChildren<Props>) { const intl = useIntl(); const { |