@zohodesk/svg
Version:
This Bundle Contains EmptyState Images.
33 lines (31 loc) • 1.25 kB
JavaScript
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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; }; return _extends.apply(this, arguments); }
import React from 'react';
import { ErrorStateProps } from "./../props/propTypes";
import { ErrorStateDefaultProps } from "./../props/defaultProps";
import SVG from "./../../SVG/SVG";
import image from "./../../../images/UnauthorizedLogin.svg";
export default class UnauthorizedLogin extends React.Component {
render() {
let {
isFluid
} = this.props;
return /*#__PURE__*/React.createElement(SVG, _extends({
viewBox: "0 0 519.3 288.6",
name: "UnauthorizedLogin"
}, this.props, {
isFluid: isFluid
}), /*#__PURE__*/React.createElement("image", {
xlinkHref: image,
height: "100%",
width: "100%"
}));
}
}
UnauthorizedLogin.propTypes = ErrorStateProps;
UnauthorizedLogin.defaultProps = { ...ErrorStateDefaultProps,
dataId: 'unauthorizedLogin'
}; // if (__DOCS__) {
// UnauthorizedLogin.docs = {
// componentGroup: 'Emptystate'
// };
// }