Add files via upload

This commit is contained in:
2024-07-17 14:41:27 +05:00
committed by GitHub
parent 3fef1624db
commit 0cb207bd7c
60 changed files with 2325 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
const scrollToElement = (elementId: string) => {
const element = document.getElementById(elementId);
if (element) {
element.scrollIntoView({
behavior: 'smooth',
block: 'center',
});
}
};
export default scrollToElement;