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

10 lines
400 B
TypeScript

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;