--- import { Icon } from "astro-icon/components"; import Badge from "@components/Badge.astro"; export interface Props { typekind: string; typename: string; typelink: string; typelink_text: string; typename_generic?: string; typelink_generic?: string; badges?: string[]; typedata_params?: string[]; } const { typekind, typename, typelink, typelink_text, typename_generic, typelink_generic, badges, typedata_params, } = Astro.props; const iconSelector: { [key: string]: string } = { prop: "tag", func: "roundbrackets", signal: "powercord", variant: "fourdiamonds", }; ---