UNPKG

@wordpress/widget-dashboard

Version:

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

15 lines • 657 B
import type { WidgetType } from '@wordpress/widget-primitives'; import type { DashboardWidget } from '../../types'; export interface WidgetPreviewChromeProps { widget: DashboardWidget<unknown>; widgetType: WidgetType; index?: number; } /** * Catalog host-chrome: the faithful `WidgetFrame` in a viewport that scales the * card to fill the tile at any zoom; inert so the picker owns selection. * * @param {WidgetPreviewChromeProps} props Component props. */ export declare function WidgetPreviewChrome({ widget, widgetType, index, }: WidgetPreviewChromeProps): import("react").JSX.Element; //# sourceMappingURL=widget-preview-chrome.d.ts.map