UNPKG

reaviz

Version:

Data Visualization using React

20 lines (18 loc) 541 B
import { ReactElement } from 'react'; export interface WrapTextInputs { key: string; x?: any; paddingY?: number; paddingX?: number; width: number; height?: number; fontFamily: string; fontSize: number; wrap?: boolean; size?: { width: number; height: number; }; visibility?: 'auto' | 'always'; } export declare function wrapText({ key, x, size, paddingY, wrap, paddingX, width, height, fontFamily, fontSize, visibility }: WrapTextInputs): ReactElement | ReactElement[] | null;