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