@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
29 lines (27 loc) • 1.7 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:Keyboard.js
const Keyboard = React.forwardRef(function Keyboard({ 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: "M28,26H4a2,2,0,0,1-2-2V10A2,2,0,0,1,4,8H28a2,2,0,0,1,2,2V24A2,2,0,0,1,28,26ZM4,10V24H28V10Z" }), /* @__PURE__ */ jsx("path", { d: "M10 20H21V22H10z" }), /* @__PURE__ */ jsx("path", { d: "M6 12H8V14H6z" }), /* @__PURE__ */ jsx("path", { d: "M10 12H12V14H10z" }), /* @__PURE__ */ jsx("path", { d: "M14 12H16V14H14z" }), /* @__PURE__ */ jsx("path", { d: "M18 12H20V14H18z" }), /* @__PURE__ */ jsx("path", { d: "M6 20H8V22H6z" }), /* @__PURE__ */ jsx("path", { d: "M6 16H8V18H6z" }), /* @__PURE__ */ jsx("path", { d: "M10 16H12V18H10z" }), /* @__PURE__ */ jsx("path", { d: "M14 16H16V18H14z" }), /* @__PURE__ */ jsx("path", { d: "M22 12H26V14H22z" }), /* @__PURE__ */ jsx("path", { d: "M22 16H26V18H22z" }), /* @__PURE__ */ jsx("path", { d: "M18 16H20V18H18z" }), /* @__PURE__ */ jsx("path", { d: "M23 20H26V22H23z" }), children);
});
if (process.env.NODE_ENV !== "production") Keyboard.propTypes = iconPropTypes;
//#endregion
export { Keyboard as default };