UNPKG

@wordpress/widget-dashboard

Version:

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

15 lines (14 loc) • 488 B
// packages/widget-dashboard/src/utils/row-height-presets/row-height-presets.ts /** * Suggested row heights for hosts that offer a small, medium or large * choice. The dashboard honors any positive `rowHeight`; these are starting * points, not the only values. */ const ROW_HEIGHT_PRESETS = { small: 200, medium: 300, large: 400 }; const DEFAULT_ROW_HEIGHT = ROW_HEIGHT_PRESETS.medium; export { DEFAULT_ROW_HEIGHT, ROW_HEIGHT_PRESETS }; //# sourceMappingURL=row-height-presets.mjs.map