mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
* Add awesome card stacking animations on login * Fix linter error * Fix proptypes warning and clean up if/then logic * True up vh units * Make logout pixel perfect with login form
24 lines
616 B
JavaScript
24 lines
616 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, whiteTabStyles } = componentStyles;
|
|
|
|
return (
|
|
<div style={containerStyles}>
|
|
<img alt="Kolide text logo" src="/assets/images/kolide-logo-text.svg" />
|
|
<div style={whiteTabStyles} />
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default radium(AuthenticationFormWrapper);
|