UNPKG

@wordpress/widget-dashboard

Version:

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

12 lines • 672 B
import type { WidgetAction, WidgetRuntimeAction } from '@wordpress/widget-primitives'; /** * Joins the type's declared actions with the instance's runtime ones. A * runtime action carrying a declared `id` takes that action's position; * the rest follow in their own order. * * @param {WidgetAction[]} declared The type's declared actions. * @param {WidgetRuntimeAction[]} runtime The instance's runtime actions. * @return {WidgetRuntimeAction[]} The actions the surfaces place. */ export declare function mergeWidgetActions(declared: WidgetAction[], runtime: WidgetRuntimeAction[]): WidgetRuntimeAction[]; //# sourceMappingURL=merge-widget-actions.d.ts.map