amis-rpc-design/node_modules/rc-dropdown/lib/hooks/useAccessibility.d.ts

11 lines
390 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
import * as React from "react";
interface UseAccessibilityProps {
visible: boolean;
triggerRef: React.RefObject<any>;
onVisibleChange?: (visible: boolean) => void;
autoFocus?: boolean;
overlayRef?: React.RefObject<any>;
}
export default function useAccessibility({ visible, triggerRef, onVisibleChange, autoFocus, overlayRef, }: UseAccessibilityProps): void;
export {};