2019-01-07 01:25:33 +00:00
|
|
|
import React, { Component } from 'react';
|
|
|
|
import PropTypes from 'prop-types';
|
2016-09-19 23:43:35 +00:00
|
|
|
|
2017-01-05 15:53:41 +00:00
|
|
|
const baseClass = 'auth-form-wrapper';
|
|
|
|
|
2016-09-19 23:43:35 +00:00
|
|
|
class AuthenticationFormWrapper extends Component {
|
|
|
|
static propTypes = {
|
|
|
|
children: PropTypes.node,
|
|
|
|
};
|
|
|
|
|
|
|
|
render () {
|
|
|
|
const { children } = this.props;
|
|
|
|
|
|
|
|
return (
|
2017-01-05 15:53:41 +00:00
|
|
|
<div className={baseClass}>
|
2018-09-19 14:07:37 +00:00
|
|
|
<img alt="Kolide Fleet" src="/assets/images/kolide-logo-vertical.svg" className={`${baseClass}__logo`} />
|
2016-09-19 23:43:35 +00:00
|
|
|
{children}
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-03 19:40:54 +00:00
|
|
|
export default AuthenticationFormWrapper;
|