UNPKG

@carbon/pictograms-react

Version:

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

42 lines (38 loc) 2.17 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; let didWarnAboutDeprecation = false; const Handicap = /*#__PURE__*/React.forwardRef(function Handicap({ children, ...rest }, ref) { if (process.env.NODE_ENV !== "production") { if (!didWarnAboutDeprecation) { didWarnAboutDeprecation = true; console.warn(`The Handicap component has been deprecated and will be ` + `removed in the next major version of @carbon/icons-react.`); } } 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: "M12,30.36c-4.058,0-7.36-3.302-7.36-7.36c0-3.232,2.162-6.134,5.257-7.055l0.205,0.69\tC7.31,17.466,5.36,20.083,5.36,23c0,3.661,2.979,6.64,6.64,6.64s6.64-2.979,6.64-6.64h0.721C19.36,27.059,16.058,30.36,12,30.36z M25,28.36c-0.027,0-0.056-0.004-0.082-0.01c-0.098-0.023-0.181-0.085-0.23-0.172L20.976,21.7c-0.113-0.198-0.326-0.321-0.555-0.321\tH15c-1.853,0-3.36-1.508-3.36-3.36V12c0-1.549,1.187-2.36,2.36-2.36c1.194,0,1.789,0.739,2.212,1.462l2.018,3.538H23v0.72h-4.979\tc-0.129,0-0.249-0.069-0.312-0.182l-2.119-3.715C15.118,10.66,14.687,10.36,14,10.36c-0.79,0-1.64,0.513-1.64,1.64v6.019\tc0,1.456,1.185,2.64,2.64,2.64h5.421c0.486,0,0.938,0.263,1.18,0.685l3.521,6.144l2.68-1.786l0.398,0.6l-3,2\tC25.14,28.339,25.07,28.36,25,28.36z M15,8.36c-1.577,0-2.86-1.283-2.86-2.86S13.423,2.64,15,2.64s2.86,1.283,2.86,2.86\tS16.577,8.36,15,8.36z M15,3.36c-1.18,0-2.14,0.96-2.14,2.14S13.82,7.64,15,7.64s2.14-0.96,2.14-2.14S16.18,3.36,15,3.36z" })), children); }); module.exports = Handicap;