react-native-skia-responsive-text
Version:
A library providing a wrapper for the React Native Skia Text component, offering features like user-friendly text alignment, efficient multiline text management, and straightforward text truncation.
4 lines • 407 B
TypeScript
import { HorizontalAlignment, TextLineData, VerticalAlignment } from '../types';
export declare const getTextLinesAlignment: (lines: Array<TextLineData>, width: number, alignment?: HorizontalAlignment) => Array<number>;
export declare const getVerticalAlignmentOffset: (componentHeight: number, parentHeight?: number, verticalAlignment?: VerticalAlignment) => number;
//# sourceMappingURL=alignment.d.ts.map