UNPKG

@wordpress/widget-dashboard

Version:

Stateless rendering engine for widget dashboards: the WidgetDashboard compound component and its grid-settings kit.

17 lines (16 loc) • 457 B
"use strict"; Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } }); // packages/widget-dashboard/src/utils/action-fulfillment.ts /** * Whether a callback fulfills the action. * * @param {WidgetRuntimeAction} action The action to test. */ function isCallbackAction(action) { return "callback" in action; } exports.isCallbackAction = isCallbackAction; //# sourceMappingURL=action-fulfillment.cjs.map