@pmndrs/uikit
Version:
Build performant 3D user interfaces with Three.js and yoga.
14 lines (13 loc) • 576 B
TypeScript
import type { ReadonlySignal } from '@preact/signals-core';
import type { PositionedGlyphLayout, TextLayoutTarget } from './types.js';
import type { CustomLayouting } from '../../flex/index.js';
export * from './matrix.js';
export * from './measure.js';
export * from './normalize.js';
export * from './positioned.js';
export * from './query.js';
export * from './types.js';
export declare function setupTextLayout(target: TextLayoutTarget): {
layout: ReadonlySignal<PositionedGlyphLayout | undefined>;
customLayouting: ReadonlySignal<CustomLayouting | undefined>;
};