volleyball-dev-frontend/node_modules/@headlessui/react/dist/hooks/use-active-press.d.ts
Marc Wieland 33181acf83
Some checks are pending
Deploy Volleyball CMS / deploy (push) Waiting to run
Last
2025-06-02 18:56:22 +02:00

15 lines
367 B
TypeScript

export declare function useActivePress({ disabled }?: Partial<{
disabled: boolean;
}>): {
pressed: boolean;
pressProps: {
onPointerDown?: undefined;
onPointerUp?: undefined;
onClick?: undefined;
} | {
onPointerDown: (event: PointerEvent) => void;
onPointerUp: () => void;
onClick: () => void;
};
};