UNPKG

@wordpress/widget-dashboard

Version:

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

21 lines (20 loc) • 661 B
"use strict"; Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } }); // 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; exports.DEFAULT_ROW_HEIGHT = DEFAULT_ROW_HEIGHT; exports.ROW_HEIGHT_PRESETS = ROW_HEIGHT_PRESETS; //# sourceMappingURL=row-height-presets.cjs.map