diff --git a/plugins/woocommerce-blocks/assets/js/base/components/index.ts b/plugins/woocommerce-blocks/assets/js/base/components/index.ts index fca0dbf0250..7b938ead9ce 100644 --- a/plugins/woocommerce-blocks/assets/js/base/components/index.ts +++ b/plugins/woocommerce-blocks/assets/js/base/components/index.ts @@ -30,5 +30,4 @@ export * from './sort-select'; export * from './state-input'; export * from './summary'; export * from './tabs'; -export * from './textarea'; export * from './title'; diff --git a/plugins/woocommerce-blocks/assets/js/blocks/checkout/order-notes/index.tsx b/plugins/woocommerce-blocks/assets/js/blocks/checkout/order-notes/index.tsx index e4345e3c340..cace83c8c65 100644 --- a/plugins/woocommerce-blocks/assets/js/blocks/checkout/order-notes/index.tsx +++ b/plugins/woocommerce-blocks/assets/js/blocks/checkout/order-notes/index.tsx @@ -4,7 +4,7 @@ import { __ } from '@wordpress/i18n'; import { useState } from '@wordpress/element'; import { CheckboxControl } from '@woocommerce/blocks-checkout'; -import { Textarea } from '@woocommerce/base-components/textarea'; +import { Textarea } from '@woocommerce/blocks-components'; interface CheckoutOrderNotesProps { disabled: boolean; diff --git a/plugins/woocommerce-blocks/packages/components/index.ts b/plugins/woocommerce-blocks/packages/components/index.ts index 18e060237ab..4c6b153fc1a 100644 --- a/plugins/woocommerce-blocks/packages/components/index.ts +++ b/plugins/woocommerce-blocks/packages/components/index.ts @@ -11,3 +11,4 @@ export { export type { RadioControlOption as RadioControlOptionType } from './radio-control/types'; export { default as RadioControlAccordion } from './radio-control-accordion'; export { default as Spinner } from './spinner'; +export { default as Textarea } from './textarea'; diff --git a/plugins/woocommerce-blocks/assets/js/base/components/textarea/index.tsx b/plugins/woocommerce-blocks/packages/components/textarea/index.tsx similarity index 96% rename from plugins/woocommerce-blocks/assets/js/base/components/textarea/index.tsx rename to plugins/woocommerce-blocks/packages/components/textarea/index.tsx index d59e03ef322..76e95b1fb02 100644 --- a/plugins/woocommerce-blocks/assets/js/base/components/textarea/index.tsx +++ b/plugins/woocommerce-blocks/packages/components/textarea/index.tsx @@ -34,3 +34,5 @@ export const Textarea = ( { value={ value } /> ); + +export default Textarea; diff --git a/plugins/woocommerce-blocks/assets/js/base/components/textarea/style.scss b/plugins/woocommerce-blocks/packages/components/textarea/style.scss similarity index 100% rename from plugins/woocommerce-blocks/assets/js/base/components/textarea/style.scss rename to plugins/woocommerce-blocks/packages/components/textarea/style.scss