UNPKG

@pierre/diffs

Version:

17 lines (15 loc) 429 B
import { createHastElement } from "./hast_utils.js"; //#region src/utils/createEmptyRowBuffer.ts function createEmptyRowBuffer(size) { return createHastElement({ tagName: "div", properties: { "data-content-buffer": "", "data-buffer-size": size, style: `grid-row: span ${size};min-height:calc(${size} * 1lh)` } }); } //#endregion export { createEmptyRowBuffer }; //# sourceMappingURL=createEmptyRowBuffer.js.map