text: 'use strict';
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  
  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
  
  var _react = require('react');
  
  var _react2 = _interopRequireDefault(_react);
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  
  function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
  
  var FileIcon = function FileIcon(_ref) {
    var _ref$color = _ref.color,
        color = _ref$color === undefined ? 'currentColor' : _ref$color,
        _ref$size = _ref.size,
        size = _ref$size === undefined ? 24 : _ref$size,
        _ref$filled = _ref.filled,
        filled = _ref$filled === undefined ? false : _ref$filled,
        className = _ref.className,
        children = _ref.children,
        props = _objectWithoutProperties(_ref, ['color', 'size', 'filled', 'className', 'children']);
  
    var classes = 'calcite-icon';
    if (className) classes += ' ' + className;
  
    if (size <= 16) {
      return _react2.default.createElement(
        'svg',
        _extends({}, props, { width: size, height: size, fill: color, viewBox: '0 0 16 16', className: classes }),
        filled ? _react2.default.createElement('path', { d: 'M11 5h4v11H2V0h8v5zm.4-5H11v4h4v-.4z' }) : _react2.default.createElement('path', { d: 'M11.4 0H2v16h13V3.6zM14 15H3V1h7v4h4zm0-11h-3V1h.31L14 3.69z' })
      );
    }
  
    if (size <= 24) {
      return _react2.default.createElement(
        'svg',
        _extends({}, props, { width: size, height: size, fill: color, viewBox: '0 0 24 24', className: classes }),
        filled ? _react2.default.createElement('path', { d: 'M15 8h6v15H3V1h11v7zm.29-7H15v6h6v-.291z' }) : _react2.default.createElement('path', { d: 'M15.29 1H3v22h18V6.709zM20 22H4V2h10v6h6zm0-15h-5V2h.2L20 6.8z' })
      );
    }
  
    return _react2.default.createElement(
      'svg',
      _extends({}, props, { width: size, height: size, fill: color, viewBox: '0 0 32 32', className: classes }),
      filled ? _react2.default.createElement('path', { d: 'M20 1l8 8h-8zm-1 9V1H4v30h24V10z' }) : _react2.default.createElement('path', { d: 'M20.3 1H4v30h24V8.699zM27 30H5V2h14v8h8zM20 9V2l7 7z' })
    );
  };
  
  exports.default = FileIcon;