UNPKG

react-icons

Version:

svg react icons of popular icon packs using ES6 imports

39 lines (28 loc) 1.88 kB
'use strict'; exports.__esModule = 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; }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } var React = require('react'); var IconBase = require('../IconBase'); var MdSwitchCamera = (function (_React$Component) { _inherits(MdSwitchCamera, _React$Component); function MdSwitchCamera() { _classCallCheck(this, MdSwitchCamera); _React$Component.apply(this, arguments); } MdSwitchCamera.prototype.render = function render() { return React.createElement( IconBase, _extends({ viewBox: '0 0 24 24' }, this.props), React.createElement( 'g', null, React.createElement('path', { d: 'M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-5 11.5V13H9v2.5L5.5 12 9 8.5V11h6V8.5l3.5 3.5-3.5 3.5z' }) ) ); }; return MdSwitchCamera; })(React.Component); exports['default'] = MdSwitchCamera; module.exports = exports['default'];