@wordpress/widget-dashboard
Version:
Stateless rendering engine for widget dashboards: the WidgetDashboard compound component and its grid-settings kit.
16 lines • 612 B
TypeScript
import type { WidgetType } from '@wordpress/widget-primitives';
import type { DashboardWidget } from '../../types';
interface WidgetFrameFooterProps {
widget: DashboardWidget<unknown>;
widgetType: WidgetType;
editMode?: boolean;
}
/**
* The frame's footer. Subscribes to the instance's runtime actions here,
* so a declaration never re-renders the body.
*
* @param {WidgetFrameFooterProps} props Component props.
*/
export declare function WidgetFrameFooter({ widget, widgetType, editMode, }: WidgetFrameFooterProps): React.ReactNode;
export {};
//# sourceMappingURL=widget-frame-footer.d.ts.map