PromoCursed/node_modules/rc-textarea/es/calculateNodeHeight.d.ts

10 lines
426 B
TypeScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
import type React from 'react';
export interface NodeType {
sizingStyle: string;
paddingSize: number;
borderSize: number;
boxSizing: string;
}
export declare function calculateNodeStyling(node: HTMLElement, useCache?: boolean): NodeType;
export default function calculateAutoSizeStyle(uiTextNode: HTMLTextAreaElement, useCache?: boolean, minRows?: number | null, maxRows?: number | null): React.CSSProperties;