woocommerce/plugins/woocommerce-admin/client/customize-store/assembler-hub/logo-block-context.tsx

13 lines
284 B
TypeScript

/**
* External dependencies
*/
import { createContext } from '@wordpress/element';
export const LogoBlockContext = createContext< {
logoBlockIds: Array< string >;
setLogoBlockIds: ( clientIds: Array< string > ) => void;
} >( {
logoBlockIds: [],
setLogoBlockIds: () => {},
} );