Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Import CheckboxControl from a single place #12015

Merged
merged 1 commit into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import {
noticeContexts,
} from '@woocommerce/base-context';
import { getSetting } from '@woocommerce/settings';
import { CheckboxControl } from '@woocommerce/blocks-checkout';
import {
StoreNoticesContainer,
ValidatedTextInput,
CheckboxControl,
} from '@woocommerce/blocks-components';
import { useDispatch, useSelect } from '@wordpress/data';
import { CHECKOUT_STORE_KEY } from '@woocommerce/block-data';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ import {
useEditorContext,
noticeContexts,
} from '@woocommerce/base-context';
import { CheckboxControl } from '@woocommerce/blocks-checkout';
import { StoreNoticesContainer } from '@woocommerce/blocks-components';
import {
StoreNoticesContainer,
CheckboxControl,
} from '@woocommerce/blocks-components';
import Noninteractive from '@woocommerce/base-components/noninteractive';
import type {
BillingAddress,
Expand Down
2 changes: 1 addition & 1 deletion packages/checkout/components/checkbox-control/index.tsx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { CheckboxControl } from '../../../components/checkbox-control';
export { CheckboxControl } from '@woocommerce/blocks-components';
Loading