@base-ui-components/react
Version:
Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.
5 lines • 426 B
TypeScript
export declare function stopEvent(event: Event | React.SyntheticEvent): void;
export declare function isReactEvent(event: any): event is React.SyntheticEvent;
export declare function isVirtualClick(event: MouseEvent | PointerEvent): boolean;
export declare function isVirtualPointerEvent(event: PointerEvent): boolean;
export declare function isMouseLikePointerType(pointerType: string | undefined, strict?: boolean): boolean;