19 lines
376 B
TypeScript
19 lines
376 B
TypeScript
/**
|
|
* Internal dependencies
|
|
*/
|
|
import { ACTION_TYPES } from './action-types';
|
|
|
|
export const registerContainer = ( containerContext: string ) => {
|
|
return {
|
|
type: ACTION_TYPES.REGISTER_CONTAINER,
|
|
containerContext,
|
|
};
|
|
};
|
|
|
|
export const unregisterContainer = ( containerContext: string ) => {
|
|
return {
|
|
type: ACTION_TYPES.UNREGISTER_CONTAINER,
|
|
containerContext,
|
|
};
|
|
};
|