@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
46 lines (42 loc) • 1.57 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.
*/
;
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 DataDefinition = /*#__PURE__*/React.forwardRef(function DataDefinition({
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: "14",
cy: "14",
r: "2"
})), _path || (_path = /*#__PURE__*/React.createElement("path", {
d: "M20,30a.9967.9967,0,0,1-.707-.293L8.5859,19A2.0126,2.0126,0,0,1,8,17.5859V10a2.002,2.002,0,0,1,2-2h7.5859A1.9864,1.9864,0,0,1,19,8.5859L29.707,19.293a.9994.9994,0,0,1,0,1.414l-9,9A.9967.9967,0,0,1,20,30ZM10,10v7.5859l10,10L27.5859,20l-10-10Z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M12,30H4a2.0021,2.0021,0,0,1-2-2V4A2.0021,2.0021,0,0,1,4,2H28a2.0021,2.0021,0,0,1,2,2v8H28V4H4V28h8Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
DataDefinition.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = DataDefinition;