FrontPastel/node_modules/@mui/utils/useIsFocusVisible/useIsFocusVisible.d.ts

10 lines
400 B
TypeScript
Raw Normal View History

2024-04-17 13:55:11 +00:00
import * as React from 'react';
export declare function teardown(doc: Document): void;
export interface UseIsFocusVisibleResult {
isFocusVisibleRef: React.MutableRefObject<boolean>;
onBlur: (event: React.FocusEvent<any>) => void;
onFocus: (event: React.FocusEvent<any>) => void;
ref: React.RefCallback<Element>;
}
export default function useIsFocusVisible(): UseIsFocusVisibleResult;