export const scrollToView = (id) => {
    if (id) {
        const element = document.getElementById(id);
        if (element) {
            element.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
        }
    }
};
//# sourceMappingURL=ScrollToView.js.map