@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
38 lines (36 loc) • 1.54 kB
JavaScript
/**
* 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.
*/
import Icon from "./Icon.js";
import { t as iconPropTypes } from "./iconPropTypes-B1cP964Y.js";
import React from "react";
import { jsx } from "react/jsx-runtime";
//#region virtual:Time.js
const Time = React.forwardRef(function Time({ children, size = 16, ...rest }, ref) {
if (size === 20 || size === "20" || size === "20px") return React.createElement(Icon, {
width: size,
height: size,
ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
...rest
}, /* @__PURE__ */ jsx("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" }), /* @__PURE__ */ jsx("path", { d: "M13 13.9 9.4 10.3 9.4 4 10.6 4 10.6 9.7 13.9 13z" }), children);
return React.createElement(Icon, {
width: size,
height: size,
ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
fill: "currentColor",
...rest
}, /* @__PURE__ */ jsx("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" }), /* @__PURE__ */ jsx("path", { d: "M20.59 22 15 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;
//#endregion
export { Time as default };