@navinc/base-react-components
Version:
Nav's Pattern Library
4 lines • 1.69 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
const Star = (props) => (_jsx("svg", Object.assign({ fill: "currentcolor", width: "24", height: "24", "data-testid": "icon:star" }, props, { children: _jsx("path", { d: "M11.0957517,17.437642 L7.41796198,19.3718961 L8.12046796,15.2759719 C8.22309632,14.6776027 7.99385847,13.9698695 7.55806611,13.545077 L4.58256399,10.6449239 L8.69452336,10.0474212 C9.29532019,9.96012034 9.89757603,9.52340062 10.1669105,8.97766934 L12.0069714,5.25430125 L13.8445634,8.97766934 C14.1132479,9.52208362 14.7147004,9.95990915 15.3169506,10.0474212 L19.4241884,10.6492816 L16.4534078,13.545077 C16.0186672,13.9688444 15.7881294,14.6761552 15.891006,15.2759719 L16.6025753,19.3759354 L12.9157223,17.437642 C12.3783533,17.1551304 11.6344206,17.154447 11.0957517,17.437642 Z M16.5705146,21.6186316 C17.7924011,22.2610153 18.9715071,21.4055066 18.7379703,20.0438828 L17.8622226,14.9378818 C17.8707382,14.9875316 21.5591581,11.3611597 21.5591581,11.3611597 C22.547685,10.3975842 22.0984117,9.01182095 20.7312637,8.81316271 L15.6045472,8.0682072 C15.6543985,8.07545101 13.3452983,3.44694471 13.3452983,3.44694471 C12.7343551,2.20903857 11.2775828,2.20809847 10.6661757,3.44694471 L8.37343837,8.09253792 C8.39573252,8.04736503 3.28021024,8.81316271 3.28021024,8.81316271 C1.91409971,9.01167019 1.46303825,10.3968524 2.45231583,11.3611597 L6.16204273,14.9772497 C6.12597003,14.9420875 5.27350359,20.0438828 5.27350359,20.0438828 C5.04014405,21.4044733 6.21814495,22.2615031 7.44095929,21.6186316 L12.0264339,19.2079049 C11.9818456,19.2313463 16.5705146,21.6186316 16.5705146,21.6186316 Z", fillRule: "nonzero" }) })));
export default Star;
//# sourceMappingURL=star.js.map