MCPcopy
hub / github.com/alibaba/hooks / Rect

Interface Rect

packages/hooks/src/useTextSelection/index.ts:6–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import useEffectWithTarget from '../utils/useEffectWithTarget';
5
6interface Rect {
7 top: number;
8 left: number;
9 bottom: number;
10 right: number;
11 height: number;
12 width: number;
13}
14export interface State extends Rect {
15 text: string;
16}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…