amis-rpc-design/node_modules/rc-textarea/lib/calculateNodeHeight.d.ts
2023-10-07 19:42:30 +08:00

10 lines
426 B
TypeScript

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;