mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
24 lines
562 B
JavaScript
24 lines
562 B
JavaScript
import React, { Component, PropTypes } from 'react';
|
|
import radium from 'radium';
|
|
|
|
import componentStyles from './styles';
|
|
|
|
class AuthenticationFormWrapper extends Component {
|
|
static propTypes = {
|
|
children: PropTypes.node,
|
|
};
|
|
|
|
render () {
|
|
const { children } = this.props;
|
|
const { containerStyles } = componentStyles;
|
|
|
|
return (
|
|
<div style={containerStyles}>
|
|
<img alt="Kolide text logo" src="/assets/images/kolide-logo-text.svg" />
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default radium(AuthenticationFormWrapper);
|