amis-rpc-design/node_modules/rc-dropdown/es/hooks/useAccessibility.d.ts
2023-10-07 19:42:30 +08:00

11 lines
390 B
TypeScript

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 {};