@automattic/social-previews
Version:
A suite of components to generate previews for a post for both social and search engines.
5 lines • 971 B
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
export function DefaultImage() {
return (_jsx("div", { className: "nextdoor-preview__default-image", children: _jsxs("svg", { width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", color: "#055c00", children: [_jsx("path", { fill: "currentColor", d: "M13.207 5.207c1.51-1.51 4.076-1.51 5.586 0 1.51 1.51 1.51 4.076 0 5.586l-2.1 2.1c-1.51 1.51-4.077 1.51-5.586 0a1 1 0 1 0-1.414 1.414c2.29 2.29 6.123 2.29 8.414 0l2.1-2.1c2.29-2.29 2.29-6.124 0-8.414s-6.124-2.29-8.414 0l-.7.7a1 1 0 0 0 1.414 1.414l.7-.7Z" }), _jsx("path", { fill: "currentColor", d: "M7.307 11.107c1.51-1.51 4.076-1.51 5.586 0a1 1 0 0 0 1.414-1.414c-2.29-2.29-6.124-2.29-8.414 0l-2.1 2.1c-2.29 2.29-2.29 6.123 0 8.414 2.29 2.29 6.124 2.29 8.414 0l.7-.7a1 1 0 0 0-1.414-1.414l-.7.7c-1.51 1.51-4.076 1.51-5.586 0-1.51-1.51-1.51-4.076 0-5.586l2.1-2.1Z" })] }) }));
}
//# sourceMappingURL=default-image.js.map