tab-seperated modals + eslint fix + much more bug fixed and improvements

This commit is contained in:
Daniel
2023-06-10 02:01:14 +03:30
parent dcdef77387
commit 2df4aad077
64 changed files with 713 additions and 373 deletions
+5 -1
View File
@@ -26,7 +26,11 @@ function useOutsideAlerter(
}, [ref, onClickOutside]);
}
export default function ({ children, onClickOutside, className }: Props) {
export default function ClickAwayHandler({
children,
onClickOutside,
className,
}: Props) {
const wrapperRef = useRef(null);
useOutsideAlerter(wrapperRef, onClickOutside);