import { jsx as _jsx } from "react/jsx-runtime";
import { css } from "styled-components";
import { truncatedLineStyle } from "./truncatedLineStyle";
export function ResultTitleTwo({ children, isTruncate = true, }) {
    return (_jsx("h3", { className: "openk9-embeddable-result-title-component", css: css `
        font-weight: 500;
        margin-bottom: 8px;
        font-weight: 600;
        font-size: 19px;
        line-height: 26px;
        margin-top: 0px;
        ${isTruncate ? truncatedLineStyle : ""}
      `, children: children }));
}
