--- import { NAVBAR_HEIGHT } from "@constants/constants"; import { i18n } from "@i18n/translation"; import I18nKey from "@i18n/i18nKey"; import WidgetLayout from "./widgetLayout.astro"; interface Props { id?: string; class?: string; style?: string; depth?: number; side?: string; } const { id: propId, class: className, style, depth = 3, side = "default" } = Astro.props; const id = propId || `toc-wrapper-${side}`; ---