mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-31 05:32:58 +00:00
14 lines
322 B
TypeScript
14 lines
322 B
TypeScript
import type { RefObject } from "react";
|
|
|
|
interface Args {
|
|
value: string;
|
|
textareaRef: RefObject<unknown>;
|
|
minHeight: number;
|
|
maxHeight: number;
|
|
onHeight: (height: number) => void;
|
|
}
|
|
|
|
export function useComposerHeightMirror(_args: Args): void {
|
|
// No-op on native: onContentSizeChange drives height natively.
|
|
}
|