fleet/frontend/components/side_panels/SecondarySidePanelContainer/SecondarySidePanelContainer.jsx

22 lines
460 B
React
Raw Normal View History

import React, { Component } from "react";
import PropTypes from "prop-types";
class SecondarySidePanelContainer extends Component {
static propTypes = {
children: PropTypes.node,
className: PropTypes.string,
};
render() {
const { children, className } = this.props;
return (
<div className={`secondary-side-panel-container ${className}`}>
{children}
</div>
);
}
}
export default SecondarySidePanelContainer;