2016-09-19 23:43:35 +00:00
|
|
|
import React, { Component, PropTypes } from 'react';
|
|
|
|
|
import radium from 'radium';
|
2016-10-19 20:22:18 +00:00
|
|
|
|
2016-09-19 23:43:35 +00:00
|
|
|
import componentStyles from './styles';
|
|
|
|
|
|
|
|
|
|
class AuthenticationFormWrapper extends Component {
|
|
|
|
|
static propTypes = {
|
|
|
|
|
children: PropTypes.node,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
render () {
|
|
|
|
|
const { children } = this.props;
|
2016-10-28 15:01:08 +00:00
|
|
|
const { containerStyles } = componentStyles;
|
2016-09-19 23:43:35 +00:00
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<div style={containerStyles}>
|
2016-09-28 10:16:09 +00:00
|
|
|
<img alt="Kolide text logo" src="/assets/images/kolide-logo-text.svg" />
|
2016-09-19 23:43:35 +00:00
|
|
|
{children}
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default radium(AuthenticationFormWrapper);
|