2021-04-12 13:32:25 +00:00
|
|
|
import React, { Component } from "react";
|
|
|
|
import PropTypes from "prop-types";
|
2016-10-20 12:43:25 +00:00
|
|
|
|
|
|
|
class SecondarySidePanelContainer extends Component {
|
|
|
|
static propTypes = {
|
|
|
|
children: PropTypes.node,
|
2016-11-17 17:12:41 +00:00
|
|
|
className: PropTypes.string,
|
2016-10-20 12:43:25 +00:00
|
|
|
};
|
|
|
|
|
2021-04-12 13:32:25 +00:00
|
|
|
render() {
|
2016-11-17 17:12:41 +00:00
|
|
|
const { children, className } = this.props;
|
2016-10-20 12:43:25 +00:00
|
|
|
|
|
|
|
return (
|
2016-11-29 22:29:14 +00:00
|
|
|
<div className={`secondary-side-panel-container ${className}`}>
|
2016-10-20 12:43:25 +00:00
|
|
|
{children}
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-03 19:40:54 +00:00
|
|
|
export default SecondarySidePanelContainer;
|