box-ui-elements-mlh
Version:
24 lines (22 loc) • 1.01 kB
JavaScript
import * as React from 'react';
import LeftSidebarLink from './LeftSidebarLink';
import LeftSidebarIconWrapper from './LeftSidebarIconWrapper';
import './styles/InstantLogin.scss';
var InstantLogin = function InstantLogin(_ref) {
var _ref$htmlAttributes = _ref.htmlAttributes,
htmlAttributes = _ref$htmlAttributes === void 0 ? {} : _ref$htmlAttributes,
Icon = _ref.iconComponent,
_ref$message = _ref.message,
message = _ref$message === void 0 ? '' : _ref$message,
_ref$showTooltip = _ref.showTooltip,
showTooltip = _ref$showTooltip === void 0 ? false : _ref$showTooltip;
return /*#__PURE__*/React.createElement(LeftSidebarLink, {
className: "instant-login-link",
htmlAttributes: htmlAttributes,
icon: Icon ? /*#__PURE__*/React.createElement(LeftSidebarIconWrapper, null, /*#__PURE__*/React.createElement(Icon, null)) : null,
message: message,
showTooltip: showTooltip
});
};
export default InstantLogin;
//# sourceMappingURL=InstantLogin.js.map