metadata-based-explorer1
Version:
Box UI Elements
30 lines (28 loc) • 1.09 kB
JavaScript
import * as React from 'react';
import AccessibleSVG from '../accessible-svg';
var IconTrash = function IconTrash(_ref) {
var _ref$className = _ref.className,
className = _ref$className === void 0 ? '' : _ref$className,
_ref$color = _ref.color,
color = _ref$color === void 0 ? '#979797' : _ref$color,
_ref$height = _ref.height,
height = _ref$height === void 0 ? 12 : _ref$height,
title = _ref.title,
_ref$width = _ref.width,
width = _ref$width === void 0 ? 12 : _ref$width;
return React.createElement(AccessibleSVG, {
className: "icon-trash ".concat(className),
height: height,
title: title,
viewBox: "0 0 12 12",
width: width
}, React.createElement("g", {
className: "fill-color",
fill: color
}, React.createElement("path", {
d: "M11.2 0H0l1.8 11c.1.5.6 1 1.2 1h6c.5 0 1.1-.4 1.2-1L12 0h-.8zm-2 10.9s-.1.1-.2.1H3c-.1 0-.2-.1-.2-.1L1.2 1h9.6l-1.6 9.9z"
}), React.createElement("path", {
d: "M8.5 2h-5c-.3 0-.5.2-.5.5s.2.5.5.5h5c.3 0 .5-.2.5-.5S8.8 2 8.5 2z"
})));
};
export default IconTrash;