Skip to content
PACKAGES

cellTextMeasurements()

Provider helper for fixed-cell terminal/snapshot text measurement.

import { cellTextMeasurements } from "@graphrefly/ts/solutions/reactive-layout";
function cellTextMeasurements(opts: CellTextMeasurementsOptions): Node<Measurements>
ParameterTypeDescription
optsCellTextMeasurementsOptionsOptions that configure the helper.

A Node<Measurements> value.

import { cellTextMeasurements } from "@graphrefly/ts/solutions/reactive-layout";

packages/ts/src/solutions/reactive-layout/measurements.ts