From bbd8392bc3887467684fbfca4415cb437270fe42 Mon Sep 17 00:00:00 2001 From: Thomas Roberts Date: Wed, 18 Oct 2023 13:41:33 +0100 Subject: [PATCH] Move Spinner to components package --- assets/js/base/components/index.ts | 1 - packages/components/index.js | 1 + {assets/js/base => packages}/components/spinner/index.tsx | 0 {assets/js/base => packages}/components/spinner/style.scss | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename {assets/js/base => packages}/components/spinner/index.tsx (100%) rename {assets/js/base => packages}/components/spinner/style.scss (100%) diff --git a/assets/js/base/components/index.ts b/assets/js/base/components/index.ts index 8326cd1bccd..f0a57cd8795 100644 --- a/assets/js/base/components/index.ts +++ b/assets/js/base/components/index.ts @@ -30,7 +30,6 @@ export * from './reviews'; export * from './sidebar-layout'; export * from './snackbar-list'; export * from './sort-select'; -export * from './spinner'; export * from './state-input'; export * from './summary'; export * from './tabs'; diff --git a/packages/components/index.js b/packages/components/index.js index 599ab85acc2..8d44b8a4a73 100644 --- a/packages/components/index.js +++ b/packages/components/index.js @@ -1,2 +1,3 @@ export { default as CheckboxList } from './checkbox-list'; export { Chip, RemovableChip } from './chip'; +export { default as Spinner } from './spinner'; diff --git a/assets/js/base/components/spinner/index.tsx b/packages/components/spinner/index.tsx similarity index 100% rename from assets/js/base/components/spinner/index.tsx rename to packages/components/spinner/index.tsx diff --git a/assets/js/base/components/spinner/style.scss b/packages/components/spinner/style.scss similarity index 100% rename from assets/js/base/components/spinner/style.scss rename to packages/components/spinner/style.scss