UNPKG

@carbon/icons-react

Version:

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

46 lines (42 loc) 1.51 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 _circle, _path, _path2; const ContentView = /*#__PURE__*/React.forwardRef(function ContentView({ children, size = 16, ...rest }, ref) { 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 }, _circle || (_circle = /*#__PURE__*/React.createElement("circle", { cx: "16", cy: "19", r: "2" })), _path || (_path = /*#__PURE__*/React.createElement("path", { d: "M23.7769,18.4785A8.64,8.64,0,0,0,16,13a8.64,8.64,0,0,0-7.7769,5.4785L8,19l.2231.5215A8.64,8.64,0,0,0,16,25a8.64,8.64,0,0,0,7.7769-5.4785L24,19ZM16,23a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,16,23Z" })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", { d: "M27,3H5A2,2,0,0,0,3,5V27a2,2,0,0,0,2,2H27a2,2,0,0,0,2-2V5A2,2,0,0,0,27,3ZM5,5H27V9H5ZM5,27V11H27V27Z" })), children); }); if (process.env.NODE_ENV !== "production") { ContentView.propTypes = iconPropTypes.iconPropTypes; } module.exports = ContentView;