13 lines
284 B
TypeScript
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: () => {},
|
|
} );
|