UNPKG

@carbon/icons-react

Version:

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

57 lines (53 loc) 1.87 kB
/** * Copyright IBM Corp. 2016, 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 React = require('react'); var Icon_js = require('./Icon.js'); var iconPropTypes = require('./iconPropTypes-BoFFIf2P.js'); require('@carbon/icon-helpers'); require('prop-types'); var _path, _path2, _path3, _path4; const Time = /*#__PURE__*/React.forwardRef(function Time({ children, size = 16, ...rest }, ref) { if (size === 20 || size === "20" || size === "20px") { return /*#__PURE__*/React.createElement(Icon_js, { width: size, height: size, ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", fill: "currentColor", ...rest }, _path || (_path = /*#__PURE__*/React.createElement("path", { d: "M10,19c-5,0-9-4-9-9s4-9,9-9s9,4,9,9S15,19,10,19z M10,2.3c-4.3,0-7.7,3.5-7.7,7.7s3.5,7.7,7.7,7.7s7.7-3.5,7.7-7.7 S14.3,2.3,10,2.3z" })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", { d: "M13 13.9L9.4 10.3 9.4 4 10.6 4 10.6 9.7 13.9 13z" })), children); } return /*#__PURE__*/React.createElement(Icon_js, { width: size, height: size, ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", fill: "currentColor", ...rest }, _path3 || (_path3 = /*#__PURE__*/React.createElement("path", { d: "M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z" })), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", { d: "M20.59 22L15 16.41 15 7 17 7 17 15.58 22 20.59 20.59 22z" })), children); }); if (process.env.NODE_ENV !== "production") { Time.propTypes = iconPropTypes.iconPropTypes; } module.exports = Time;