dtd
Version:
根据数梦工场视觉规范打造的组件库,感谢react-components和ant design
13 lines (12 loc) • 366 B
TypeScript
export interface NodeType {
sizingStyle: string;
paddingSize: number;
borderSize: number;
boxSizing: string;
}
export default function calculateNodeHeight(uiTextNode: HTMLTextAreaElement, useCache?: boolean, minRows?: number | null, maxRows?: number | null): {
height: number;
minHeight: number;
maxHeight: number;
overflowY: any;
};