UNPKG

@wordpress/widget-dashboard

Version:

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

14 lines • 559 B
import type { ReactNode } from 'react'; export interface NoWidgetsStateProps { children?: ReactNode; } /** * Empty-state placeholder shown while the dashboard `layout` has no widgets. * Pair it with `WidgetDashboard.Widgets` so it stands in for the grid until * widgets are added. Falls back to a built-in placeholder; pass `children` to * override. * * @param {NoWidgetsStateProps} props Component props. */ export declare function NoWidgetsState({ children, }: NoWidgetsStateProps): React.ReactNode; //# sourceMappingURL=no-widgets-state.d.ts.map