import React from "react";
import * as styles from "./styles";
import { ScoreIcon } from "~/components/ScoreIcon";
export function Title({ scoreKey, children, }) {
    return (React.createElement("div", { className: styles.container, "data-testid": "score-card-title" },
        React.createElement(ScoreIcon, { score: scoreKey, className: styles.icon }),
        React.createElement("p", { className: styles.title, "data-testid": "score-card-title-text" }, children)));
}
//# sourceMappingURL=index.js.map