From 107dc702b25ebf03e743cfb66f82407b045bc45d Mon Sep 17 00:00:00 2001 From: Thomas Roberts Date: Mon, 16 Oct 2023 14:37:47 +0100 Subject: [PATCH] Move Label component to components package --- packages/components/index.js | 1 + {assets/js/base => packages}/components/label/index.tsx | 0 .../components/label/test/__snapshots__/index.js.snap | 0 {assets/js/base => packages}/components/label/test/index.js | 0 4 files changed, 1 insertion(+) rename {assets/js/base => packages}/components/label/index.tsx (100%) rename {assets/js/base => packages}/components/label/test/__snapshots__/index.js.snap (100%) rename {assets/js/base => packages}/components/label/test/index.js (100%) diff --git a/packages/components/index.js b/packages/components/index.js index 4293e92612b..3f2266e3056 100644 --- a/packages/components/index.js +++ b/packages/components/index.js @@ -1 +1,2 @@ export { default as CheckboxList } from './checkbox-list'; +export { default as Label } from './label'; diff --git a/assets/js/base/components/label/index.tsx b/packages/components/label/index.tsx similarity index 100% rename from assets/js/base/components/label/index.tsx rename to packages/components/label/index.tsx diff --git a/assets/js/base/components/label/test/__snapshots__/index.js.snap b/packages/components/label/test/__snapshots__/index.js.snap similarity index 100% rename from assets/js/base/components/label/test/__snapshots__/index.js.snap rename to packages/components/label/test/__snapshots__/index.js.snap diff --git a/assets/js/base/components/label/test/index.js b/packages/components/label/test/index.js similarity index 100% rename from assets/js/base/components/label/test/index.js rename to packages/components/label/test/index.js