import React from "react";
import { useTranslation } from "react-i18next";
import * as styles from "./styles";
export function Content({ score }) {
    const { t } = useTranslation(["neighborhoodHighlights", "common"]);
    return (React.createElement("div", { "data-testid": `highlight-content-${score}`, className: styles.container },
        React.createElement("p", { "data-testid": "highlight-title", className: styles.text },
            React.createElement("span", null, t("highlight.title"))),
        React.createElement("p", { "data-testid": "highlight-pill", className: styles.pill }, score && t(`common:scores.${score}.title`))));
}
//# sourceMappingURL=index.js.map