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

13 lines
284 B
TypeScript
Raw Normal View History

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