'use client';

import { useEffect, useState } from "react";

//#region src/hooks/useGetElementById.ts
const useGetElementById = (id) => {
	const [element, setElement] = useState(void 0);
	useEffect(() => {
		setElement(document.getElementById(id));
	}, [id]);
	return element;
};

//#endregion
export { useGetElementById };
//# sourceMappingURL=useGetElementById.mjs.map