- Full-featured monitoring dashboard for local web apps - Real-time status tracking with uptime percentages - Visual sparklines for status history - Add/Edit/Delete apps dynamically - Categories and color coding - Auto-refresh every 30 seconds - API endpoints for apps and status management
9 lines
412 B
TypeScript
9 lines
412 B
TypeScript
type UseIntersectionObserverInit = Pick<IntersectionObserverInit, 'rootMargin' | 'root'>;
|
|
type UseIntersection = {
|
|
disabled?: boolean;
|
|
} & UseIntersectionObserverInit & {
|
|
rootRef?: React.RefObject<HTMLElement | null> | null;
|
|
};
|
|
export declare function useIntersection<T extends Element>({ rootRef, rootMargin, disabled, }: UseIntersection): [(element: T | null) => void, boolean, () => void];
|
|
export {};
|