padraigfl/packard-belle

View on GitHub
src/components/Window/WindowFrame.js

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';
import PropTypes from 'prop-types';
import classnames from 'classnames';
import './styles/WindowFrame.scss';

const WindowFrame = props => (
  <div className={classnames('window', props.className)}>
    {props.children}
  </div>
);

WindowFrame.propTypes = {
  children: PropTypes.node,
  className: PropTypes.string,
};

export default WindowFrame;