metadata-based-explorer1
Version:
Box UI Elements
31 lines (29 loc) • 1.12 kB
JavaScript
import * as React from 'react';
import classNames from 'classnames';
import AccessibleSVG from '../../../icons/accessible-svg';
var iconName = 'icon-recents';
var IconRecents = function IconRecents(_ref) {
var _ref$className = _ref.className,
className = _ref$className === void 0 ? '' : _ref$className,
_ref$color = _ref.color,
color = _ref$color === void 0 ? '#c4c4c4' : _ref$color,
title = _ref.title,
_ref$width = _ref.width,
width = _ref$width === void 0 ? 14 : _ref$width,
_ref$selected = _ref.selected,
selected = _ref$selected === void 0 ? false : _ref$selected;
return React.createElement(AccessibleSVG, {
className: classNames(iconName, className, {
'is-selected': selected
}),
title: title,
viewBox: "0 0 14 14",
width: width
}, React.createElement("path", {
className: "fill-color",
color: color,
d: "M7 7V2.5c0-.3-.2-.5-.5-.5s-.5.2-.5.5v5c0 .3.2.5.5.5h3c.3 0 .5-.2.5-.5S9.8 7 9.5 7H7zm0 7c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z",
fill: selected ? color : undefined
}));
};
export default IconRecents;