UNPKG

replay-viewer

Version:

Rocket League replay viewer React component and tooling

11 lines 930 B
/* tslint:disable */ import React from "react"; var ColorIcon = function (_a) { var _b = _a.color, color = _b === void 0 ? "#000000" : _b, _c = _a.selectedColor, selectedColor = _c === void 0 ? "#000000" : _c; return (React.createElement("div", null, React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24" }, React.createElement("path", { d: "M19,11.5C19,11.5 17,13.67 17,15A2,2 0 0,0 19,17A2,2 0 0,0 21,15C21,13.67 19,11.5 19,11.5M5.21,10L10,5.21L14.79,10M16.56,8.94L7.62,0L6.21,1.41L8.59,3.79L3.44,8.94C2.85,9.5 2.85,10.47 3.44,11.06L8.94,16.56C9.23,16.85 9.62,17 10,17C10.38,17 10.77,16.85 11.06,16.56L16.56,11.06C17.15,10.47 17.15,9.5 16.56,8.94Z", fill: color }), React.createElement("path", { fill: selectedColor, fillOpacity: ".8", d: "M0 20h24v4H0z" })))); }; export default ColorIcon; //# sourceMappingURL=ColorIcon.js.map