fleet/frontend/components/AuthenticationFormWrapper/AuthenticationFormWrapper.jsx

24 lines
531 B
React
Raw Normal View History

import React, { Component } from 'react';
import PropTypes from 'prop-types';
const baseClass = 'auth-form-wrapper';
class AuthenticationFormWrapper extends Component {
static propTypes = {
children: PropTypes.node,
};
render () {
const { children } = this.props;
return (
<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`} />
{children}
</div>
);
}
}
export default AuthenticationFormWrapper;