nice-ui
Version:
React design system, components, and utilities
7 lines (6 loc) • 461 B
TypeScript
import * as React from 'react';
import { AnchorPointHandle } from './AnchorPointHandle';
import type { AnchorPointComputeSpec } from './types';
export declare const anchorContext: React.Context<Pick<AnchorPointHandle, "style" | "maxHeight" | "get"> | null>;
export declare const useAnchorPointHandle: (spec?: AnchorPointComputeSpec) => AnchorPointHandle;
export declare const useAnchorPoint: () => Pick<AnchorPointHandle, "style" | "maxHeight" | "get"> | null;