Files
NapCatQQ/.pnpm-store/v3/files/26/56050a5e09a60e7080ae3a0a9c95ceaa47dd2f2cfdf7a6ef295883d3a60d53995bdc4ed2c99e6b5f40e6b6f99987e25575590d6e9f824ceacf2a41863839da
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

18 lines
684 B
Plaintext

import * as React from 'react';
type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement>;
type Style = Omit<NonNullable<TextareaProps['style']>, 'maxHeight' | 'minHeight'> & {
height?: number;
};
export type TextareaHeightChangeMeta = {
rowHeight: number;
};
export interface TextareaAutosizeProps extends Omit<TextareaProps, 'style'> {
maxRows?: number;
minRows?: number;
onHeightChange?: (height: number, meta: TextareaHeightChangeMeta) => void;
cacheMeasurements?: boolean;
style?: Style;
}
declare const _default: React.ForwardRefExoticComponent<TextareaAutosizeProps & React.RefAttributes<HTMLTextAreaElement>>;
export default _default;