Skip to content

Commit 07f6e53

Browse files
committed
Deprecate Spinner
1 parent 8207094 commit 07f6e53

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

site/src/components/Loader/Loader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Interpolation, Theme } from "@emotion/react";
2-
import { Spinner } from "components/Spinner/Spinner";
2+
import { Spinner } from "components/deprecated/Spinner/Spinner";
33
import type { FC, HTMLAttributes } from "react";
44

55
interface LoaderProps extends HTMLAttributes<HTMLDivElement> {

site/src/components/Spinner/Spinner.tsx renamed to site/src/components/deprecated/Spinner/Spinner.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import type { FC } from "react";
88
* Spinner component used to indicate loading states. This component abstracts
99
* the MUI CircularProgress to provide better control over its rendering,
1010
* especially in snapshot tests with Chromatic.
11+
*
12+
* @deprecated prefer `components.Spinner`
1113
*/
1214
export const Spinner: FC<CircularProgressProps> = (props) => {
1315
/**

0 commit comments

Comments
 (0)