UNPKG

ant-design-vue

Version:

An enterprise-class UI design language and Vue-based implementation

10 lines (9 loc) 430 B
import type { CSSProperties } from 'vue'; 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): CSSProperties;