Files
encoach_frontend/src/components/FocusLayer.tsx
Tiago Ribeiro 14a719b8b5 - Solved the bug on Diagnostic where the exams weren't loading;
- Removed the Layout appearance and made it so the abandon popup appears on click and not on enter
2023-08-22 23:13:26 +01:00

10 lines
280 B
TypeScript

import {useEffect, useState} from "react";
interface Props {
onFocusLayerMouseEnter?: () => void;
}
export default function FocusLayer({onFocusLayerMouseEnter}: Props) {
return <div className="absolute top-0 left-0 bottom-0 right-0" onMouseDown={onFocusLayerMouseEnter} />;
}