@wordpress/commands
Version:
Handles the commands menu.
20 lines (19 loc) • 348 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.setContext = setContext;
/**
* Sets the active context.
*
* @param {string} context Context.
*
* @return {Object} action.
*/
function setContext(context) {
return {
type: 'SET_CONTEXT',
context
};
}
//# sourceMappingURL=private-actions.js.map
;