--- import { Icon } from "astro-icon/components"; import I18nKey from "@/i18n/i18nKey"; import { i18n } from "@/i18n/translation"; interface Props { id: string; name?: string; isCollapsed?: boolean; collapsedHeight?: string; class?: string; style?: string; } const { id, name, isCollapsed, collapsedHeight, style } = Astro.props; const className = Astro.props.class; --- {name && (
{name}
)}
{isCollapsed &&
}