@navinc/base-react-components
Version:
Nav's Pattern Library
4 lines • 2 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
const NavPrimeIconGradient = (props) => (_jsxs("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, props, { children: [_jsx("path", { d: "M16 19.5V14L10.5 19.5", stroke: "url(#paint0_linear_13307_2211)", strokeWidth: "2", strokeLinecap: "round" }), _jsx("path", { d: "M4 19.155V5C4 4.44772 4.44772 4 5 4H19C19.2761 4.27614 19.2761 4.72386 19 5L4.59749 19.4025C4.377 19.623 4 19.4668 4 19.155Z", fill: "url(#paint1_linear_13307_2211)" }), _jsx("path", { d: "M20 19.5V6V5C20 4.44772 19.5523 4 19 4V4M19 4H5C4.44772 4 4 4.44772 4 5V19.155C4 19.4668 4.377 19.623 4.59749 19.4025L19 5C19.2761 4.72386 19.2761 4.27614 19 4V4Z", stroke: "url(#paint2_linear_13307_2211)", strokeWidth: "2", strokeLinecap: "round" }), _jsxs("defs", { children: [_jsxs("linearGradient", { id: "paint0_linear_13307_2211", x1: "10.5", y1: "16.75", x2: "16", y2: "16.75", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4951C5" }), _jsx("stop", { offset: "0.335", stopColor: "#6D5CD5" }), _jsx("stop", { offset: "0.68", stopColor: "#8182E8" }), _jsx("stop", { offset: "1", stopColor: "#6B95E9" })] }), _jsxs("linearGradient", { id: "paint1_linear_13307_2211", x1: "4", y1: "12", x2: "20", y2: "12", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4951C5" }), _jsx("stop", { offset: "0.335", stopColor: "#6D5CD5" }), _jsx("stop", { offset: "0.68", stopColor: "#8182E8" }), _jsx("stop", { offset: "1", stopColor: "#6B95E9" })] }), _jsxs("linearGradient", { id: "paint2_linear_13307_2211", x1: "4", y1: "12", x2: "20", y2: "12", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4951C5" }), _jsx("stop", { offset: "0.335", stopColor: "#6D5CD5" }), _jsx("stop", { offset: "0.68", stopColor: "#8182E8" }), _jsx("stop", { offset: "1", stopColor: "#6B95E9" })] })] })] })));
export default NavPrimeIconGradient;
//# sourceMappingURL=nav-prime-icon-gradient.js.map