@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
29 lines (27 loc) • 1.49 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:ColorPicker.js
const ColorPicker = React.forwardRef(function ColorPicker({ children, size = 16, ...rest }, ref) {
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: "M2 27H5V30H2z" }), /* @__PURE__ */ jsx("path", { d: "M29.7092,7.3007v-.01l-4.9999-4.9999c-.3901-.3877-1.0199-.3877-1.41,0l-3.2999,3.2999-1.2899-1.3-1.42,1.4199,1.3,1.2899-10.2998,10.2898c-.1871.1887-.2915.4442-.29.7099v1.59l-2.7099,2.6999c-.3877.39-.3877,1.0199,0,1.4099l2.9999,2.9999c.3901.3877,1.0199.3877,1.41,0l2.7099-2.6999h1.59c.2658.0016.5213-.1028.71-.29l10.2897-10.2997,1.2899,1.3,1.42-1.4199-1.3-1.29,3.3-3.2899c.3877-.39.3877-1.0199,0-1.4099h0ZM19.5933,15.9966h-7.1798l7.586-7.586,3.5899,3.5899-3.9962,3.9962h0ZM24.9993,10.5905l-3.5899-3.5899,2.59-2.5899,3.5899,3.5899-2.59,2.59h0Z" }), children);
});
if (process.env.NODE_ENV !== "production") ColorPicker.propTypes = iconPropTypes;
//#endregion
export { ColorPicker as default };