@carbon/pictograms-react
Version:
React components for pictograms in digital and software products using the Carbon Design System
37 lines (36 loc) • 1.97 kB
JavaScript
/**
* Copyright IBM Corp. 2019, 2023
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
*/
const require_rolldown_runtime = require("../rolldown-runtime-BmbvWPDh.cjs");
const require_Icon_js = require("../Icon.js");
let react = require("react");
react = require_rolldown_runtime.__toESM(react);
let react_jsx_runtime = require("react/jsx-runtime");
//#region virtual:star/index.js
/**
* Copyright IBM Corp. 2019, 2023
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
*/
const Star = /*#__PURE__*/ react.default.forwardRef(function Star({ children, ...rest }, ref) {
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Icon_js, {
width: 64,
height: 64,
viewBox: "0 0 32 32",
xmlns: "http://www.w3.org/2000/svg",
fill: "currentColor",
ref,
...rest,
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M7.333,29.36c-0.076,0-0.151-0.024-0.215-0.071 c-0.128-0.096-0.178-0.264-0.123-0.413l3.569-9.733L1.8,13.299c-0.132-0.088-0.191-0.252-0.145-0.404 C1.702,12.744,1.841,12.64,2,12.64h10.732l2.923-9.744c0.091-0.305,0.599-0.305,0.689,0l2.923,9.744H30 c0.158,0,0.299,0.104,0.345,0.255s-0.013,0.316-0.146,0.404l-8.764,5.843l3.569,9.733c0.055,0.149,0.005,0.317-0.123,0.413 c-0.128,0.095-0.305,0.094-0.431-0.001L16,22.95l-8.451,6.338C7.485,29.336,7.41,29.36,7.333,29.36z M16,22.14 c0.076,0,0.152,0.024,0.216,0.072l7.694,5.771l-3.248-8.858c-0.058-0.156,0-0.331,0.139-0.424l8.01-5.34H19 c-0.159,0-0.299-0.104-0.345-0.256L16,4.253l-2.655,8.851C13.299,13.256,13.159,13.36,13,13.36H3.189L11.2,18.7 c0.138,0.093,0.195,0.268,0.138,0.424L8.09,27.982l7.694-5.771C15.848,22.164,15.924,22.14,16,22.14z" }), children]
});
});
//#endregion
module.exports = Star;