UNPKG

@carbon/pictograms-react

Version:

React components for pictograms in digital and software products using the Carbon Design System

35 lines (31 loc) 1.71 kB
/** * 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. */ 'use strict'; var _rollupPluginBabelHelpers = require('../_rollupPluginBabelHelpers-DQqaN36q.js'); var React = require('react'); var Icon_js = require('../Icon.js'); require('@carbon/icon-helpers'); require('prop-types'); var _path; const Star = /*#__PURE__*/React.forwardRef(function Star({ children, ...rest }, ref) { return /*#__PURE__*/React.createElement(Icon_js, _rollupPluginBabelHelpers._extends({ width: 64, height: 64, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ref: ref }, rest), _path || (_path = /*#__PURE__*/React.createElement("path", { d: "M7.333,29.36c-0.076,0-0.151-0.024-0.215-0.071\tc-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\tC1.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\tc0.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\tc-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\tc0.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\tc-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\tc0.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); }); module.exports = Star;