fleet/frontend/components/AuthenticationFormWrapper/AuthenticationFormWrapper.jsx
Zachary Wasserman dc4b97d15f
Fix React deprecation warnings (#1976)
- Refactor imports of PropTypes to use the prop-types package
- Upgrade dependencies that were setting off deprecation warnings
2019-01-06 17:25:33 -08:00

23 lines
531 B
JavaScript

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}>
<img alt="Kolide Fleet" src="/assets/images/kolide-logo-vertical.svg" className={`${baseClass}__logo`} />
{children}
</div>
);
}
}
export default AuthenticationFormWrapper;