import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { HighlightableText, ResultTextContent, ResultContainer, ResultFavicon, ResultLink, ResultTitle, } from "../../../renderer-components";
export function WebResult({ result }) {
    return (_jsxs(ResultContainer, { icon: _jsx(ResultFavicon, { src: result.source.web.favicon }), children: [_jsx(ResultTitle, { children: _jsx(HighlightableText, { result: result, path: "web.title" }) }), _jsx(ResultLink, { href: result.source.web.url, children: _jsx(HighlightableText, { result: result, path: "web.url" }) }), _jsx(ResultTextContent, { result: result, path: "web.content" })] }));
}
